Borderou de evaluare (job #2032976)

Utilizator MiricaMateiMirica Matei MiricaMatei Data 5 octombrie 2017 22:15:10
Problema Secv8 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int acc(N*, int)’: user.cpp:82:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:104:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secv8.in", "r", stdin); ^ user.cpp:105:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secv8.out", "w", stdout); ^ user.cpp:110:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d ", &n, &r); ^ user.cpp:115:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^ user.cpp:117:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] case 'I': {int k, e; scanf("%d%d ", &k, &e); t = ins(t, k, e); break;} ^ user.cpp:118:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] case 'A': {int k; scanf("%d ", &k); printf("%d\n", acc(t, k)); break;} ^ user.cpp:119:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] case 'R': {int st, dr; scanf("%d%d ", &st, &dr); t = rev(t, st, dr); break;} ^ user.cpp:120:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] case 'D': {int st, dr; scanf("%d%d ", &st, &dr); t = del(t, st, dr); break;} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbKilled by signal 11(SIGSEGV).0
20ms272kbKilled by signal 11(SIGSEGV).0
30ms264kbKilled by signal 11(SIGSEGV).0
40ms252kbKilled by signal 11(SIGSEGV).0
50ms252kbKilled by signal 11(SIGSEGV).0
60ms276kbKilled by signal 11(SIGSEGV).0
70ms252kbKilled by signal 11(SIGSEGV).0
80ms248kbKilled by signal 11(SIGSEGV).0
90ms248kbKilled by signal 11(SIGSEGV).0
100ms244kbKilled by signal 11(SIGSEGV).0
110ms248kbKilled by signal 11(SIGSEGV).0
120ms272kbKilled by signal 11(SIGSEGV).0
130ms272kbKilled by signal 11(SIGSEGV).0
140ms248kbKilled by signal 11(SIGSEGV).0
150ms248kbKilled by signal 11(SIGSEGV).0
160ms248kbKilled by signal 11(SIGSEGV).0
170ms268kbKilled by signal 11(SIGSEGV).0
180ms268kbKilled by signal 11(SIGSEGV).0
190ms244kbKilled by signal 11(SIGSEGV).0
200ms244kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?