Borderou de evaluare (job #1298342)

Utilizator ioalexno1Alexandru Bunget ioalexno1 Data 22 decembrie 2014 19:12:42
Problema Sarac Sau Rege Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 30

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
10ms264kbOK10
20ms272kbOK10
3Depăşit352kbTime limit exceeded.0
4Depăşit268kbTime limit exceeded.0
5Depăşit696kbTime limit exceeded.0
6696ms688kbOK10
7Depăşit692kbTime limit exceeded.0
8Depăşit692kbTime limit exceeded.0
9Depăşit696kbTime limit exceeded.0
10Depăşit696kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?