Pagini recente » Borderou de evaluare (job #2720086) | Borderou de evaluare (job #2752175) | Borderou de evaluare (job #2531336) | Borderou de evaluare (job #2543168) | Borderou de evaluare (job #2661013)
Borderou de evaluare (job #2661013)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:81: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:82: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:85: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:87: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:75:17: warning: iteration 100004 invokes undefined behavior [-Waggressive-loop-optimizations]
ans += modul(cnt[i]);
~~~~~^~~~~~~~
main.cpp:74:20: note: within this loop
for(int i = 1; i <= COORD_MAX; i++)
~~^~~~~~~~~~~~
main.cpp:31:22: warning: iteration 100004 invokes undefined behavior [-Waggressive-loop-optimizations]
neg[i] = (cnt[i] < 0) + neg[i - 1];
~~~~~^
main.cpp:30:22: note: within this loop
for(int i = 1; i <= COORD_MAX; i++) {
~~^~~~~~~~~~~~
main.cpp:24:12: warning: iteration 100004 invokes undefined behavior [-Waggressive-loop-optimizations]
cnt[i] = 0;
~~~~~~~^~~
main.cpp:23:20: note: within this loop
for(int i = 1; i <= COORD_MAX; i++)
~~^~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 18ms | 1310kb | Incorect | 0 | 0 |
2 | 48ms | 1310kb | Incorect | 0 | 0 |
3 | 48ms | 1310kb | Incorect | 0 | 0 |
4 | 102ms | 1310kb | Incorect | 0 | 0 |
5 | 403ms | 1441kb | Time limit exceeded | 0 | 0 |
6 | 403ms | 1441kb | Time limit exceeded | 0 |
7 | 403ms | 1441kb | Time limit exceeded | 0 |
8 | 400ms | 1441kb | Time limit exceeded | 0 |
9 | 401ms | 1441kb | Time limit exceeded | 0 |
10 | 403ms | 1441kb | Time limit exceeded | 0 |
Punctaj total | 0 |