Pagini recente » Borderou de evaluare (job #2928083) | Borderou de evaluare (job #222379) | Borderou de evaluare (job #1809466) | Borderou de evaluare (job #781237) | Borderou de evaluare (job #1254268)
Borderou de evaluare (job #1254268)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(in, "%ld %ld", &n, &m);
^
user.cpp:11:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:17:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(in,"%ld", &x);
^
user.cpp:30:25: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(out, "%ld\n", mx);
^
user.cpp:11:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%ld %ld", &n, &m);
^
user.cpp:17:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%ld", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 268kb | OK | 10 |
5 | 0ms | 264kb | OK | 10 |
6 | 0ms | 268kb | OK | 10 |
7 | 0ms | 264kb | OK | 10 |
8 | 16ms | 260kb | OK | 10 |
9 | 72ms | 268kb | OK | 10 |
10 | 168ms | 264kb | OK | 10 |
Punctaj total | 100 |