Borderou de evaluare (job #2081221)

Utilizator AntoniuFicAntoniu Ficard AntoniuFic Data 4 decembrie 2017 13:48:07
Problema Defrag Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 35

Raport evaluator

Compilare: user.cpp: In function ‘void cerinta1()’: user.cpp:12:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d", numardepiste); ^ user.cpp: In function ‘void cerinta2()’: user.cpp:29:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ", a); ^ user.cpp: In function ‘int main()’: user.cpp:39:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] scanf("%d \n %d %d \n %d", &v, &p, &s, &c); ^ user.cpp:39:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:39:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:43:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d \n", &a, &b); ^ user.cpp:43:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:37:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("defrag.in", "r", stdin); ^ user.cpp:38:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("defrag.out", "w", stdout); ^ user.cpp:39:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d \n %d %d \n %d", &v, &p, &s, &c); ^ user.cpp:43:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d \n", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms404kbOK5
2Depăşit480kbTime limit exceeded.0
30ms264kbOK5
40ms268kbOK5
50ms272kbIncorect0
60ms312kbIncorect0
70ms264kbOK5
80ms272kbIncorect0
90ms272kbOK5
100ms268kbIncorect0
110ms336kbIncorect0
120ms360kbIncorect0
130ms404kbIncorect0
144ms440kbIncorect0
154ms480kbIncorect0
168ms500kbIncorect0
174ms528kbIncorect0
1812ms536kbIncorect0
190ms284kbOK5
200ms280kbOK5
Punctaj total35

Ceva nu functioneaza?