Pagini recente » Borderou de evaluare (job #1877261) | Borderou de evaluare (job #2073450) | Borderou de evaluare (job #2039022) | Borderou de evaluare (job #2185801) | Borderou de evaluare (job #1276863)
Borderou de evaluare (job #1276863)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:67:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d", &grid[i][j]);
^
user.cpp:59:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lacuri.in", "r", stdin);
^
user.cpp:60:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lacuri.out", "w", stdout);
^
user.cpp:64:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:67:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &grid[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 324kb | OK! | 10 |
2 | 0ms | 400kb | OK! | 10 |
3 | 0ms | 400kb | OK! | 10 |
4 | 0ms | 368kb | OK! | 10 |
5 | 0ms | 608kb | OK! | 10 |
6 | 0ms | 640kb | Numar de lacuri gresit | 0 |
7 | 0ms | 644kb | OK! | 10 |
8 | 0ms | 360kb | OK! | 10 |
9 | 0ms | 444kb | OK! | 10 |
10 | 0ms | 320kb | OK! | 10 |
Punctaj total | 90 |