Borderou de evaluare (job #2130803)

Utilizator RG1999one shot RG1999 Data 13 februarie 2018 22:09:16
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:22:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘ll* {aka long long int*}’ [-Wformat=] scanf("%ld",&n); ^ user.cpp:29:28: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘ll {aka long long int}’ [-Wformat=] printf("%ld\n",nxt3); ^ user.cpp:34:30: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘ll {aka long long int}’ [-Wformat=] printf("%ld\n",nxt5); ^ user.cpp:20: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:21: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:22:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1248kbOK10
20ms1252kbOK10
30ms1252kbOK10
40ms1248kbOK10
50ms1252kbOK10
60ms1248kbOK10
78ms1248kbOK10
8744ms1248kbIncorect0
91036ms1252kbIncorect0
101080ms1252kbIncorect0
Punctaj total70

Ceva nu functioneaza?