Borderou de evaluare (job #1915453)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:23: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:23:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long unsigned int*’ [-Wformat=] user.cpp:23:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long unsigned int*’ [-Wformat=] user.cpp:43: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:21: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:22: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:23: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
10ms280kbOK1020
20ms284kbOK10
316ms1900kbOK1030
432ms3348kbOK10
540ms3880kbOK10
6Depăşit37332kbTime limit exceeded.00
7Depăşit35864kbTime limit exceeded.0
8Depăşit37752kbTime limit exceeded.0
9Depăşit36932kbTime limit exceeded.00
10Depăşit36652kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?