Pagini recente » Borderou de evaluare (job #701042) | Borderou de evaluare (job #19943) | Borderou de evaluare (job #3233683) | Borderou de evaluare (job #2542829) | Borderou de evaluare (job #1298346)
Borderou de evaluare (job #1298346)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:98:83: warning: operation on ‘heap[fiu]’ may be undefined [-Wsequence-point]
heap[tata] = heap[tata] + heap[fiu] - (heap[fiu] = heap[tata]);
^
user.cpp:120:83: warning: operation on ‘heap[fiu]’ may be undefined [-Wsequence-point]
heap[tata] = heap[tata] + heap[fiu] - (heap[fiu] = heap[tata]);
^
user.cpp:16:32: warning: unused variable ‘aux’ [-Wunused-variable]
int n, m, a, b, tata, fiu, aux;
^
user.cpp:13:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.in", "r", stdin);
^
user.cpp:14:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.out", "w", stdout);
^
user.cpp:18:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &m);
^
user.cpp:21:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &v[i]);
^
user.cpp:42:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | Depăşit | 356kb | Time limit exceeded. | 0 |
4 | Depăşit | 272kb | Time limit exceeded. | 0 |
5 | Depăşit | 616kb | Time limit exceeded. | 0 |
6 | 688ms | 616kb | OK | 10 |
7 | Depăşit | 620kb | Time limit exceeded. | 0 |
8 | Depăşit | 620kb | Time limit exceeded. | 0 |
9 | Depăşit | 624kb | Time limit exceeded. | 0 |
10 | Depăşit | 620kb | Time limit exceeded. | 0 |
Punctaj total | 30 |