Pagini recente » Borderou de evaluare (job #2301446) | Borderou de evaluare (job #2944884) | Borderou de evaluare (job #2424214) | Borderou de evaluare (job #3000282) | Borderou de evaluare (job #2658496)
Borderou de evaluare (job #2658496)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:85: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:86: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:89: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:91: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:38: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 |
1 | 17ms | 1310kb | Incorect | 0 | 0 |
2 | 43ms | 1310kb | Incorect | 0 | 0 |
3 | 49ms | 1310kb | Incorect | 0 | 0 |
4 | 97ms | 1310kb | Incorect | 0 | 0 |
5 | 403ms | 1441kb | Time limit exceeded | 0 | 0 |
6 | 400ms | 1441kb | Time limit exceeded | 0 |
7 | 402ms | 1441kb | Time limit exceeded | 0 |
8 | 400ms | 1441kb | Time limit exceeded | 0 |
9 | 403ms | 1441kb | Time limit exceeded | 0 |
10 | 402ms | 1441kb | Time limit exceeded | 0 |
Punctaj total | 0 |