Borderou de evaluare (job #1285394)

Utilizator codi22FMI Condrea Florin codi22 Data 7 decembrie 2014 10:54:41
Problema Noname 3 Status done
Runda Algoritmiada 2015 - Runda 1, Juniori Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:19: warning: format ‘%li’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%li",&n); ^ user.cpp:10:19: warning: format ‘%li’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%li",&s); ^ user.cpp:19:24: warning: format ‘%li’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%li ",i); ^ user.cpp:21:27: warning: format ‘%li’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%li ",i+1); ^ user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("noname3.in","r",stdin); ^ user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("noname3.out","w",stdout); ^ user.cpp:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%li",&n); ^ user.cpp:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%li",&s); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms440kbOK1010
20ms436kbOK1010
30ms432kbOK1010
40ms436kbOK1010
50ms436kbIncorect00
60ms436kbIncorect00
70ms436kbIncorect0
80ms432kbIncorect0
90ms436kbOK1010
100ms416kbOK1010
Punctaj total60

Ceva nu functioneaza?