Borderou de evaluare (job #1959093)

Utilizator flaviu_2001Craciun Ioan-Flaviu flaviu_2001 Data 9 aprilie 2017 02:25:47
Problema Cub2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:28: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf ( "%lld", &v ); ^ user.cpp:66:48: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=] printf ( "%lld %lld %lld", --i, --j, k ); ^ user.cpp:66:48: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int’ [-Wformat=] user.cpp:66:48: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘int’ [-Wformat=] user.cpp:12:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ( "cub2.in", "r", stdin ); ^ user.cpp:13:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ( "cub2.out", "w", stdout ); ^ user.cpp:15:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ( "%lld%lld", &test, &n ); ^ user.cpp:19:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ( "%lld", &v ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms308kbIncorect0
20ms308kbIncorect0
30ms376kbIncorect0
40ms492kbIncorect0
50ms600kbIncorect0
60ms648kbIncorect0
70ms800kbIncorect0
80ms840kbIncorect0
90ms880kbIncorect0
100ms916kbIncorect0
110ms288kbCorect8
120ms292kbCorect8
130ms344kbCorect8
140ms464kbCorect8
154ms736kbCorect8
1640ms2340kbCorect8
1788ms3520kbCorect8
18156ms5088kbCorect8
19196ms6084kbCorect8
20284ms8100kbCorect8
Punctaj total80

Ceva nu functioneaza?