Borderou de evaluare (job #1684881)

Utilizator DenisONIcBanu Denis Andrei DenisONIc Data 11 aprilie 2016 12:39:43
Problema Strabunica Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&n); ^ user.cpp:17:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&x); ^ user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("strabunica.in","r",stdin); ^ user.cpp:14:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&n); ^ user.cpp:17:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms424kbOK10
20ms436kbOK10
30ms444kbOK10
48ms620kbOK10
516ms776kbOK10
620ms432kbOK10
748ms1240kbOK10
860ms1368kbOK10
956ms472kbOK10
1060ms492kbOK10
Punctaj total100

Ceva nu functioneaza?