Borderou de evaluare (job #1915444)

Utilizator tudorgalatanRoman Tudor tudorgalatan Data 8 martie 2017 21:02:23
Problema Curcubeu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:22:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=] scanf("%d %d %d %d", &N, &A[1], &B[1], &C[1]); ^ user.cpp:22:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long unsigned int*’ [-Wformat=] user.cpp:22:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long unsigned int*’ [-Wformat=] user.cpp:42:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=] printf("%d\n", sol[i]); ^ user.cpp:20:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("curcubeu.in","r",stdin); ^ user.cpp:21:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("curcubeu.out","w",stdout); ^ user.cpp:22:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &N, &A[1], &B[1], &C[1]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms272kbOK1020
20ms280kbOK10
316ms1896kbOK1030
436ms3344kbOK10
540ms3872kbOK10
6Depăşit37324kbTime limit exceeded.00
7496ms35864kbOK10
8Depăşit37744kbTime limit exceeded.0
9496ms36920kbOK1020
10500ms36644kbOK10
Punctaj total70

Ceva nu functioneaza?