Borderou de evaluare (job #1294598)

Utilizator mihail.jianuJianu Mihail mihail.jianu Data 17 decembrie 2014 20:54:17
Problema AI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘nod mij(nod, nod, nod)’: user.cpp:377:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (n2.l <= n1.l && n1.l <= n3.l || n2.l >= n1.l && n1.l >= n3.l) ^ user.cpp:380:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (n1.l <= n2.l && n2.l <= n3.l || n1.l >= n2.l && n2.l >= n3.l) ^ user.cpp:383:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (n1.l <= n3.l && n3.l <= n2.l || n1.l >= n3.l && n3.l >= n2.l) ^ user.cpp: In function ‘void citNod(nod&)’: user.cpp:25:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d", &x.l, &x.c); ^ user.cpp: In function ‘void init()’: user.cpp:190:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("ai.in", "r", stdin); ^ user.cpp:191:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("ai.out", "w", stdout); ^ user.cpp:193:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &n); ^ user.cpp:199:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &k); ^ user.cpp: In function ‘nod mij(nod, nod, nod)’: user.cpp:385:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms368kbOK5
20ms448kbOK5
30ms696kbOK5
48ms1704kbOK5
58ms2160kbOK5
636ms3484kbOK5
70ms1116kbOK5
80ms648kbOK5
912ms2408kbOK5
1028ms6156kbOK5
1148ms6152kbOK5
12188ms8888kbOK5
13164ms11340kbOK5
14188ms13396kbOK5
15Depăşit16028kbTime limit exceeded.0
1668ms17048kbKilled by signal 11(SIGSEGV).0
1792ms11344kbOK5
18Depăşit16660kbTime limit exceeded.0
19148ms8956kbOK5
20Depăşit16664kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?