Borderou de evaluare (job #1576129)

Utilizator serban_ioan97Ciofu Serban serban_ioan97 Data 22 ianuarie 2016 09:27:01
Problema Pikachu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d", &n, &k); ^ user.cpp:14:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:17:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &a[i]); ^ user.cpp:38:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d", lowest_cost); ^ user.cpp:11:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pikachu.in", "rt", stdin); ^ user.cpp:12:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pikachu.out", "wt", stdout); ^ user.cpp:14:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &k); ^ user.cpp:17:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms260kbOK1010
20ms256kbOK1010
30ms264kbIncorect00
4204ms316kbIncorect00
5Depăşit436kbTime limit exceeded.00
6Depăşit632kbTime limit exceeded.0
7Depăşit768kbTime limit exceeded.0
8Depăşit1096kbTime limit exceeded.00
9Depăşit1192kbTime limit exceeded.00
10Depăşit1364kbTime limit exceeded.00
Punctaj total20

Ceva nu functioneaza?