Borderou de evaluare (job #1812325)

Utilizator pibogaBogdan piboga Data 21 noiembrie 2016 23:09:47
Problema Bleach Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:18: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%i",&n); scanf("%i",&k); ^ user.cpp:17:34: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%i",&n); scanf("%i",&k); ^ user.cpp:25:28: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf( "%i", &v[i] ); ^ user.cpp:53:32: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf( "%i", &v[1] ); ^ user.cpp:60:21: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf( "%i", a ); ^ user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bleach.in","r",stdin); freopen("bleach.out","w",stdout); ^ user.cpp:16:69: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bleach.in","r",stdin); freopen("bleach.out","w",stdout); ^ user.cpp:17:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&n); scanf("%i",&k); ^ user.cpp:17:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&n); scanf("%i",&k); ^ user.cpp:25:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%i", &v[i] ); ^ user.cpp:53:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%i", &v[1] ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms256kbOK55
20ms256kbOK55
30ms260kbOK55
40ms256kbOK55
5472ms256kbOK55
6464ms264kbOK55
7468ms256kbOK55
8464ms260kbOK55
9516ms260kbOK520
10520ms260kbOK5
11520ms264kbOK5
12516ms264kbOK5
13Depăşit240kbTime limit exceeded.00
14Depăşit240kbTime limit exceeded.0
15Depăşit240kbTime limit exceeded.0
16Depăşit240kbTime limit exceeded.0
17Depăşit240kbTime limit exceeded.00
18Depăşit236kbTime limit exceeded.0
19Depăşit244kbTime limit exceeded.0
20Depăşit236kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?