Borderou de evaluare (job #2142325)

Utilizator SolcanMihaiSolcan Mihai Andrei SolcanMihai Data 24 februarie 2018 22:20:25
Problema Cartite Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int getL(int)’: user.cpp:30:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘void citire()’: user.cpp:41:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &p); ^ user.cpp:42:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:43:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &xc, &yc); ^ user.cpp:65:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &tmp); ^ user.cpp:68:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &tmp1, &tmp2, &tmp3); ^ user.cpp:72:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &tmp); ^ user.cpp:77:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &x1, &y1, &x2, &y2); ^ user.cpp: In function ‘int main()’: user.cpp:119:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cartite.in", "r", stdin); ^ user.cpp:120:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cartite.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1060kbRaspuns incorect la a doua cerinta!0
20ms1272kbRaspuns corect la prima cerinta!5
30ms1116kbRaspuns incorect la a doua cerinta!0
40ms1144kbRaspuns corect la prima cerinta!5
50ms1064kbRaspuns incorect la a doua cerinta!0
6Depăşit17672kbTime limit exceeded.0
7Depăşit19172kbTime limit exceeded.0
8Depăşit19172kbTime limit exceeded.0
9Depăşit18720kbTime limit exceeded.0
10Depăşit18632kbTime limit exceeded.0
118ms2484kbRaspuns incorect la a doua cerinta!0
12Depăşit17704kbTime limit exceeded.0
13Depăşit17328kbTime limit exceeded.0
14Depăşit18224kbTime limit exceeded.0
15Depăşit17972kbTime limit exceeded.0
16Depăşit17588kbTime limit exceeded.0
17Depăşit17056kbTime limit exceeded.0
18Depăşit18200kbTime limit exceeded.0
19Depăşit18360kbTime limit exceeded.0
20Depăşit17656kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?