Borderou de evaluare (job #1604891)

Utilizator SolcanMihaiSolcan Mihai Andrei SolcanMihai Data 18 februarie 2016 17:39:57
Problema AI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 6

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:18:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:20:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &tmp1, &tmp2); ^ user.cpp:23:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &tmp1, &tmp2); ^ user.cpp:26:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &tmp1, &tmp2); ^ user.cpp:29:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &tmp1, &tmp2); ^ user.cpp:32:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &tmp1, &tmp2); ^ user.cpp:36:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &k); ^ user.cpp:40:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &tmp1, &tmp2); ^ user.cpp: In function ‘int main()’: user.cpp:135:33: 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:136:35: 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); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms304kbPrimul numar corect1
20ms348kbRaspuns gresit0
30ms464kbPrimul numar corect1
44ms884kbRaspuns gresit0
54ms1048kbRaspuns gresit0
612ms1492kbRaspuns gresit0
70ms640kbRaspuns gresit0
80ms440kbRaspuns gresit0
94ms1140kbRaspuns gresit0
104ms1880kbPrimul numar corect1
1116ms2068kbPrimul numar corect1
1268ms2876kbRaspuns gresit0
1356ms3360kbRaspuns gresit0
1460ms3744kbRaspuns gresit0
1524ms3800kbPrimul numar corect1
1612ms668kbPrimul numar corect1
1724ms3356kbRaspuns gresit0
1860ms4180kbRaspuns gresit0
1948ms2868kbRaspuns gresit0
2052ms1468kbRaspuns gresit0
Punctaj total6

Ceva nu functioneaza?