Pagini recente » Borderou de evaluare (job #1147229) | Borderou de evaluare (job #2475273) | Borderou de evaluare (job #1528624) | Borderou de evaluare (job #1075064) | Borderou de evaluare (job #1815217)
Borderou de evaluare (job #1815217)
Raport evaluator
Compilare:
user.cpp: In function ‘void bf()’:
user.cpp:20:11: warning: unused variable ‘y’ [-Wunused-variable]
US x, y, i, j;
^
user.cpp: In function ‘int main()’:
user.cpp:49: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:49:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:49:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp:51: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:51:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:54:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f, "%d %d\n", &x, &y);
^
user.cpp:54:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:49: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:51: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:54: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 | 268kb | Incorect | 0 |
4 | 0ms | 260kb | Incorect | 0 |
5 | 8ms | 268kb | OK | 10 |
6 | 0ms | 264kb | Incorect | 0 |
7 | 0ms | 264kb | Incorect | 0 |
8 | 0ms | 268kb | Incorect | 0 |
9 | 0ms | 264kb | Incorect | 0 |
10 | 12ms | 264kb | Incorect | 0 |
Punctaj total | 20 |