Borderou de evaluare (job #2654736)

Utilizator popashtefan10Popa Stefan popashtefan10 Data 2 octombrie 2020 10:00:10
Problema Nave Interdimensionale Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:84:51: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("nave_interdimensionale.in", "r", stdin); ^ main.cpp:85:53: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("nave_interdimensionale.out", "w", stdout); ^ main.cpp:88:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &k); ^ main.cpp:90:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &y); ^ main.cpp: In function 'int count_moves(int*, int)': main.cpp:40:14: warning: iteration 100000 invokes undefined behavior [-Waggressive-loop-optimizations] poz[i] = (cnt[i] > 0) + (i == 0 ? 0 : poz[i - 1]); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:36:22: note: within this loop for(int i = 0; i <= COORD_MAX; i++) { ~~^~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
116ms1310kbIncorect00
243ms1310kbOK1010
349ms1310kbIncorect00
499ms1310kbOK1010
5403ms1441kbTime limit exceeded00
6403ms1441kbTime limit exceeded0
7403ms1441kbTime limit exceeded0
8403ms1441kbTime limit exceeded0
9400ms1441kbTime limit exceeded0
10403ms1441kbTime limit exceeded0
Punctaj total20

Ceva nu functioneaza?