Pagini recente » Borderou de evaluare (job #491395) | Borderou de evaluare (job #983667) | Borderou de evaluare (job #1297845) | Borderou de evaluare (job #305236) | Borderou de evaluare (job #1298342)
Borderou de evaluare (job #1298342)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:79: warning: operation on ‘heap[fiu]’ may be undefined [-Wsequence-point]
heap[tata] = heap[tata] + heap[fiu] - (heap[fiu] = heap[tata]);
^
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 | 264kb | OK | 10 |
| 2 | 0ms | 272kb | OK | 10 |
| 3 | Depăşit | 352kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 268kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 696kb | Time limit exceeded. | 0 |
| 6 | 696ms | 688kb | OK | 10 |
| 7 | Depăşit | 692kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 692kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 696kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 696kb | Time limit exceeded. | 0 |
| Punctaj total | 30 |