Pagini recente » Borderou de evaluare (job #1676093) | Borderou de evaluare (job #2842976) | Borderou de evaluare (job #1264090) | Borderou de evaluare (job #1430612) | Borderou de evaluare (job #1276868)
Borderou de evaluare (job #1276868)
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 | 320kb | OK! | 10 |
2 | 0ms | 404kb | OK! | 10 |
3 | 0ms | 396kb | OK! | 10 |
4 | 0ms | 368kb | OK! | 10 |
5 | 0ms | 612kb | OK! | 10 |
6 | 0ms | 644kb | Numar de lacuri gresit | 0 |
7 | 0ms | 644kb | Numar de lacuri gresit | 0 |
8 | 0ms | 360kb | OK! | 10 |
9 | 0ms | 444kb | OK! | 10 |
10 | 0ms | 324kb | OK! | 10 |
Punctaj total | 80 |