Pagini recente » Borderou de evaluare (job #2056020) | Borderou de evaluare (job #664147) | Borderou de evaluare (job #1263010) | Borderou de evaluare (job #770331) | Borderou de evaluare (job #1815195)
Borderou de evaluare (job #1815195)
Raport evaluator
Compilare:
user.cpp: In function ‘void bf()’:
user.cpp:21:12: warning: unused variable ‘y’ [-Wunused-variable]
int x, y, i, j;
^
user.cpp: In function ‘int main()’:
user.cpp:50:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f, "%d %d %d\n", &n, &p, &k);
^
user.cpp:50:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:50:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp:52:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f, "%d %d\n", &d[i], &c[i]);
^
user.cpp:52:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:50:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d %d\n", &n, &p, &k);
^
user.cpp:52:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d\n", &d[i], &c[i]);
^
user.cpp:55:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d\n", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | Incorect | 0 |
2 | 0ms | 268kb | OK | 10 |
3 | 8ms | 264kb | Incorect | 0 |
4 | 0ms | 264kb | Incorect | 0 |
5 | 8ms | 264kb | OK | 10 |
6 | 0ms | 264kb | Incorect | 0 |
7 | 0ms | 268kb | Incorect | 0 |
8 | 0ms | 260kb | Incorect | 0 |
9 | 0ms | 264kb | Incorect | 0 |
10 | 12ms | 268kb | Incorect | 0 |
Punctaj total | 20 |