Borderou de evaluare (job #1448931)

Utilizator DrumeaVDrumea Vasile DrumeaV Data 8 iunie 2015 13:17:00
Problema Puteri35 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:55:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld\n",X); ^ user.cpp:61:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld\n",Y); ^ user.cpp:66:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld\n",X); ^ user.cpp:67:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld\n",Y); ^ user.cpp:75:25: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld\n",Y); ^ user.cpp:29:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("puteri35.in","r",stdin); ^ user.cpp:30:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("puteri35.out","w",stdout); ^ user.cpp:32:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&N); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbOK10
20ms272kbOK10
30ms272kbOK10
40ms280kbOK10
50ms280kbOK10
60ms284kbOK10
78ms280kbOK10
8648ms280kbIncorect0
9900ms284kbIncorect0
10960ms280kbIncorect0
Punctaj total70

Ceva nu functioneaza?