Pagini recente » Borderou de evaluare (job #2449338) | Borderou de evaluare (job #2715800) | Borderou de evaluare (job #65778) | Borderou de evaluare (job #517573) | Borderou de evaluare (job #2363059)
Borderou de evaluare (job #2363059)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:23:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("marceland.in", "r", stdin);
^
main.cpp:24:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("marceland.out", "w", stdout);
^
main.cpp:29:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
main.cpp:32:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &N, &M);
^
main.cpp:35:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
main.cpp:77:59: warning: 'sy' may be used uninitialized in this function [-Wmaybe-uninitialized]
else if(!water && sand) ++res, matrix[sx][sy] = '@';
~~~~~~~~~~~~~~~^~~~~
main.cpp:77:59: warning: 'sx' may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK! | 10 |
2 | 2ms | 131kb | OK! | 10 |
3 | 2ms | 131kb | OK! | 10 |
4 | 2ms | 131kb | OK! | 10 |
5 | 2ms | 131kb | OK! | 10 |
6 | 3ms | 131kb | OK! | 10 |
7 | 8ms | 262kb | OK! | 10 |
8 | 7ms | 262kb | OK! | 10 |
9 | 7ms | 262kb | OK! | 10 |
10 | 8ms | 262kb | OK! | 10 |
Punctaj total | 100 |