Borderou de evaluare (job #1664662)

Utilizator TimitocArdelean Andrei Timotei Timitoc Data 26 martie 2016 13:52:55
Problema Drumuri4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int leg(nod*&, nod*&, nod*, nod*, int, int)’: user.cpp:55:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (cont[k-i+1]) ^ user.cpp: In function ‘nod* look(nod*, int, int)’: user.cpp:121:11: warning: statement has no effect [-Wunused-value] for (dist; dist > 0; dist --) { ^ user.cpp: In function ‘nod* powerLook(int, int, int)’: user.cpp:135:11: warning: statement has no effect [-Wunused-value] for (dist; dist >= k; dist -= k) { ^ user.cpp: In function ‘int main()’: user.cpp:177:15: warning: unused variable ‘z’ [-Wunused-variable] int x, y, z; ^ user.cpp: In function ‘nod* next(nod*, nod*)’: user.cpp:32:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘nod* capat(int, int)’: user.cpp:170:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:174:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("drumuri4.in", "r", stdin); ^ user.cpp:175:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("drumuri4.out", "w", stdout); ^ user.cpp:178:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:185:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &op); ^ user.cpp:187:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &y); ^ user.cpp:213:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
116ms448kbOK5
220ms628kbOK5
34ms508kbKilled by signal 11(SIGSEGV).0
44ms552kbKilled by signal 11(SIGSEGV).0
58ms616kbKilled by signal 11(SIGSEGV).0
64ms472kbKilled by signal 11(SIGSEGV).0
74ms576kbKilled by signal 11(SIGSEGV).0
824ms612kbKilled by signal 11(SIGSEGV).0
9108ms1836kbKilled by signal 11(SIGSEGV).0
10104ms1832kbKilled by signal 11(SIGSEGV).0
11100ms1832kbKilled by signal 11(SIGSEGV).0
12104ms1840kbKilled by signal 11(SIGSEGV).0
13104ms1836kbKilled by signal 11(SIGSEGV).0
14104ms1840kbKilled by signal 11(SIGSEGV).0
15108ms1836kbKilled by signal 11(SIGSEGV).0
16116ms1836kbKilled by signal 11(SIGSEGV).0
17100ms1836kbKilled by signal 11(SIGSEGV).0
18104ms1832kbKilled by signal 11(SIGSEGV).0
19104ms1840kbKilled by signal 11(SIGSEGV).0
20104ms1836kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?