Borderou de evaluare (job #1333876)

Utilizator horiainfoTurcuman Horia horiainfo Data 3 februarie 2015 17:53:29
Problema Secventa 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&n,&k); ^ user.cpp:10:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:13:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&a); ^ user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secv2.in","r",stdin); ^ user.cpp:10:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&k); ^ user.cpp:13:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms432kbWrong answer!0
20ms424kbWrong answer!0
30ms436kbWrong answer!0
44ms432kbWrong answer!0
516ms440kbWrong answer!0
640ms448kbWrong answer!0
7116ms460kbWrong answer!0
8Depăşit444kbTime limit exceeded.0
9Depăşit460kbTime limit exceeded.0
10132ms524kbWrong answer!0
Punctaj total0

Ceva nu functioneaza?