Borderou de evaluare (job #1298321)

Utilizator ioalexno1Alexandru Bunget ioalexno1 Data 22 decembrie 2014 18:49:36
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:58:83: warning: operation on ‘heap[fiu]’ may be undefined [-Wsequence-point] heap[tata] = heap[tata] + heap[fiu] - (heap[fiu] = heap[tata]); ^ user.cpp:79:83: warning: operation on ‘heap[fiu]’ may be undefined [-Wsequence-point] heap[tata] = heap[tata] + heap[fiu] - (heap[fiu] = heap[tata]); ^ user.cpp:101: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
10ms392kbIncorect0
20ms732kbKilled by signal 11(SIGSEGV).0
3120ms816kbKilled by signal 11(SIGSEGV).0
4108ms740kbKilled by signal 11(SIGSEGV).0
540msDepăşitMemory limit exceeded.0
628msDepăşitMemory limit exceeded.0
7188msDepăşitMemory limit exceeded.0
8184msDepăşitMemory limit exceeded.0
9188msDepăşitMemory limit exceeded.0
10188msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?