Pagini recente » Borderou de evaluare (job #2556962) | Borderou de evaluare (job #3137861) | Borderou de evaluare (job #2570548) | Borderou de evaluare (job #1080276) | Borderou de evaluare (job #1292748)
Borderou de evaluare (job #1292748)
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 | 436kb | OK | 5 |
2 | 0ms | 432kb | OK | 5 |
3 | 0ms | 432kb | OK | 5 |
4 | 0ms | 436kb | OK | 5 |
5 | 0ms | 432kb | OK | 5 |
6 | 0ms | 436kb | OK | 5 |
7 | 0ms | 432kb | OK | 5 |
8 | 0ms | 436kb | OK | 5 |
9 | 0ms | 448kb | OK | 5 |
10 | 4ms | 592kb | OK | 5 |
11 | 8ms | 668kb | OK | 5 |
12 | 56ms | 2108kb | OK | 5 |
13 | 648ms | 16172kb | OK | 5 |
14 | 16ms | 828kb | OK | 5 |
15 | 740ms | 16600kb | OK | 5 |
16 | 604ms | 12168kb | OK | 5 |
17 | 672ms | 13900kb | OK | 5 |
18 | 744ms | 18336kb | OK | 5 |
19 | 808ms | 17536kb | OK | 5 |
20 | 880ms | 19376kb | OK | 5 |
Punctaj total | 100 |