Borderou de evaluare (job #1603539)

Utilizator SolcanMihaiSolcan Mihai Andrei SolcanMihai Data 17 februarie 2016 17:20:41
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:109: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:110: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
10ms300kbPrimul numar corect1
20ms352kbRaspuns gresit0
30ms460kbPrimul numar corect1
44ms884kbRaspuns gresit0
54ms1048kbRaspuns gresit0
612ms1492kbRaspuns gresit0
70ms644kbRaspuns gresit0
80ms440kbRaspuns gresit0
94ms1136kbRaspuns gresit0
104ms1872kbPrimul numar corect1
1116ms2068kbPrimul numar corect1
1272ms2876kbRaspuns gresit0
1352ms3356kbRaspuns gresit0
1460ms3740kbRaspuns gresit0
1524ms3804kbPrimul numar corect1
1612ms668kbPrimul numar corect1
1724ms3360kbRaspuns gresit0
1860ms4176kbRaspuns gresit0
1948ms2876kbRaspuns gresit0
2056ms1472kbRaspuns gresit0
Punctaj total6

Ceva nu functioneaza?