Borderou de evaluare (job #1385082)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:34: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:35: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:36: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
10ms436kbRaspuns gresit!0
20ms436kbRaspuns gresit!0
30ms440kbRaspuns gresit!0
40ms432kbRaspuns gresit!0
50ms444kbRaspuns gresit!0
60ms444kbRaspuns gresit!0
70ms440kbRaspuns gresit!0
80ms448kbRaspuns gresit!0
90ms444kbRaspuns gresit!0
100ms436kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?