Pagini recente » Borderou de evaluare (job #636396) | Borderou de evaluare (job #672499) | Borderou de evaluare (job #1776947) | Borderou de evaluare (job #366059) | Borderou de evaluare (job #43535)
Borderou de evaluare (job #43535)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(in, "%ld", &n);
^
user.cpp:24:47: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(in, "%ld %ld %ld", &x,&y,&r);
^
user.cpp:24:47: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:24:47: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘int*’ [-Wformat=]
user.cpp:87:27: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(out,"%ld\n", nr);
^
user.cpp:20:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%ld", &n);
^
user.cpp:24:48: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%ld %ld %ld", &x,&y,&r);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 756kb | Incorect | 0 |
2 | 0ms | 796kb | Incorect | 0 |
3 | 0ms | 804kb | Incorect | 0 |
4 | 0ms | 756kb | OK | 5 |
5 | 0ms | 756kb | OK | 5 |
6 | 0ms | 804kb | OK | 5 |
7 | 0ms | 808kb | OK | 5 |
8 | 0ms | 856kb | OK | 5 |
9 | 0ms | 880kb | OK | 5 |
10 | 0ms | 872kb | OK | 5 |
11 | 0ms | 876kb | Incorect | 0 |
12 | 0ms | 876kb | OK | 5 |
13 | 0ms | 876kb | Incorect | 0 |
14 | 0ms | 752kb | OK | 5 |
15 | 0ms | 880kb | OK | 5 |
16 | 0ms | 780kb | OK | 5 |
17 | 0ms | 860kb | OK | 5 |
18 | 0ms | 804kb | Incorect | 0 |
19 | 0ms | 756kb | Incorect | 0 |
20 | 0ms | 860kb | OK | 5 |
Punctaj total | 65 |