Borderou de evaluare (job #1298324)

Utilizator ioalexno1Alexandru Bunget ioalexno1 Data 22 decembrie 2014 18:51:48
Problema Sarac Sau Rege Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:34:79: warning: operation on ‘heap[fiu]’ may be undefined [-Wsequence-point] heap[tata] = heap[tata] + heap[fiu] - (heap[fiu] = heap[tata]); ^ user.cpp:59:83: warning: operation on ‘heap[fiu]’ may be undefined [-Wsequence-point] heap[tata] = heap[tata] + heap[fiu] - (heap[fiu] = heap[tata]); ^ user.cpp:81:83: warning: operation on ‘heap[fiu]’ may be undefined [-Wsequence-point] heap[tata] = heap[tata] + heap[fiu] - (heap[fiu] = heap[tata]); ^ user.cpp:104:83: warning: operation on ‘heap[fiu]’ may be undefined [-Wsequence-point] heap[tata] = heap[tata] + heap[fiu] - (heap[fiu] = heap[tata]); ^ 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:43: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
10ms272kbKilled by signal 11(SIGSEGV).0
20ms268kbIncorect0
3852ms352kbIncorect0
4752ms272kbKilled by signal 11(SIGSEGV).0
5108ms692kbIncorect0
660ms688kbIncorect0
7940ms696kbKilled by signal 11(SIGSEGV).0
8940ms696kbKilled by signal 11(SIGSEGV).0
9936ms692kbIncorect0
10936ms688kbIncorect0
Punctaj total0

Ceva nu functioneaza?