Borderou de evaluare (job #1385084)

Utilizator campionulFlavius Stoican campionul Data 11 martie 2015 17:58:35
Problema Lant Aditiv Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:35:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lantaditiv.in","r",stdin); ^ user.cpp:36:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lantaditiv.out","w",stdout); ^ user.cpp:37:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&n); ^ user.cpp: In function ‘void lant()’: user.cpp:20:35: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if((x%2 && x < y)||(y%2 && y < x)) {q.push(x);q.push(y);} ^ user.cpp:21:23: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] else if(x%2 && x > y)q.push(y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbRaspuns corect!10
20ms448kbRaspuns corect!10
30ms440kbRaspuns corect!10
40ms440kbRaspuns corect!10
50ms448kbRaspuns gresit!0
60ms448kbRaspuns gresit!0
70ms448kbRaspuns corect!10
80ms460kbRaspuns gresit!0
90ms452kbRaspuns gresit!0
100ms444kbRaspuns corect!10
Punctaj total60

Ceva nu functioneaza?