Pagini recente » Borderou de evaluare (job #811593) | Borderou de evaluare (job #2838881) | Borderou de evaluare (job #253977) | Borderou de evaluare (job #2310471) | Borderou de evaluare (job #1292749)
Borderou de evaluare (job #1292749)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire(int&, int&, int&)’:
user.cpp:20:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf (f, "%ld", &N);
^
user.cpp:21:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf (f, "%ld", &M);
^
user.cpp:27:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf (f, "%ld", &varf1);
^
user.cpp:28:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf (f, "%ld", &varf2);
^
user.cpp: In function ‘int main()’:
user.cpp:79:27: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(g, "%ld\n", nr);
^
user.cpp:82:34: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(g, "%ld\n", i);
^
user.cpp: In function ‘void citire(int&, int&, int&)’:
user.cpp:20:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (f, "%ld", &N);
^
user.cpp:21:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (f, "%ld", &M);
^
user.cpp:22:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (f, "%i", &P);
^
user.cpp:27:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (f, "%ld", &varf1);
^
user.cpp:28:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (f, "%ld", &varf2);
^
user.cpp:44:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (f, "%i", &b[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 432kb | OK | 5 |
2 | 0ms | 436kb | OK | 5 |
3 | 0ms | 432kb | OK | 5 |
4 | 0ms | 432kb | OK | 5 |
5 | 0ms | 436kb | OK | 5 |
6 | 0ms | 432kb | OK | 5 |
7 | 0ms | 436kb | OK | 5 |
8 | 0ms | 440kb | OK | 5 |
9 | 0ms | 444kb | OK | 5 |
10 | 4ms | 592kb | OK | 5 |
11 | 8ms | 672kb | OK | 5 |
12 | 56ms | 2100kb | OK | 5 |
13 | 656ms | 16176kb | OK | 5 |
14 | 16ms | 828kb | OK | 5 |
15 | 720ms | 16600kb | OK | 5 |
16 | 596ms | 12164kb | OK | 5 |
17 | 668ms | 13900kb | OK | 5 |
18 | 748ms | 18328kb | OK | 5 |
19 | 808ms | 17532kb | OK | 5 |
20 | 912ms | 19380kb | OK | 5 |
Punctaj total | 100 |