Pagini recente » Borderou de evaluare (job #1748748) | Borderou de evaluare (job #2897010) | Borderou de evaluare (job #82972) | Borderou de evaluare (job #78175) | Borderou de evaluare (job #1815200)
Borderou de evaluare (job #1815200)
Raport evaluator
Compilare:
user.cpp: In function ‘void bf()’:
user.cpp:20:12: warning: unused variable ‘y’ [-Wunused-variable]
int 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 unsigned 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 unsigned int*’ [-Wformat=]
user.cpp:49:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short unsigned int*’ [-Wformat=]
user.cpp:51:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned 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 unsigned 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 | 260kb | Incorect | 0 |
| 2 | 0ms | 264kb | OK | 10 |
| 3 | 8ms | 268kb | Incorect | 0 |
| 4 | 0ms | 264kb | Incorect | 0 |
| 5 | 8ms | 268kb | OK | 10 |
| 6 | 0ms | 264kb | Incorect | 0 |
| 7 | 0ms | 268kb | Incorect | 0 |
| 8 | 0ms | 260kb | Incorect | 0 |
| 9 | 0ms | 268kb | Incorect | 0 |
| 10 | 12ms | 260kb | Incorect | 0 |
| Punctaj total | 20 |