Borderou de evaluare (job #1858702)

Utilizator ASTELOTudor Enescu ASTELO Data 27 ianuarie 2017 16:02:09
Problema Ksplit Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:56:63: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(v[i].max1-v[i+1].min2>smax||v[i].max1-v[i+1].min2==smax&&v[i].l1+v[i+1].l4>lmax) ^ user.cpp:61:63: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(v[i+1].max2-v[i].min1>smax||v[i+1].max2-v[i].min1==smax&&v[i+1].l3+v[i].l2>lmax) ^ user.cpp:7:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ksplit.in","r",stdin); ^ user.cpp:8:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ksplit.out","w",stdout); ^ user.cpp:9:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:12:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&vc[i]); ^ user.cpp:35:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&vc[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms300kbOK5
2Depăşit3056kbTime limit exceeded.0
312ms324kbOK5
456ms452kbOK5
5Depăşit508kbTime limit exceeded.0
628ms372kbIncorect0
7Depăşit628kbTime limit exceeded.0
8Depăşit628kbTime limit exceeded.0
9Depăşit628kbTime limit exceeded.0
10Depăşit944kbTime limit exceeded.0
11Depăşit2004kbTime limit exceeded.0
12Depăşit948kbTime limit exceeded.0
13Depăşit1300kbTime limit exceeded.0
14Depăşit1644kbTime limit exceeded.0
15Depăşit2000kbTime limit exceeded.0
16Depăşit2352kbTime limit exceeded.0
17Depăşit3404kbTime limit exceeded.0
18Depăşit3752kbTime limit exceeded.0
19Depăşit3756kbTime limit exceeded.0
200ms280kbOK5
Punctaj total20

Ceva nu functioneaza?