Borderou de evaluare (job #1696167)

Utilizator alexpetrescuAlexandru Petrescu alexpetrescu Data 28 aprilie 2016 15:27:49
Problema Nomem Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘char nextch()’: user.cpp:12:37: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buf, BUF_SIZE, 1, fin); ^ user.cpp: In function ‘int update(int)’: user.cpp:34:17: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if((a<i)||(b>j)||(j-b+a-(i-l+1)>=t)||(j+l-1-b+a-i>=t)) return INF; ^ user.cpp:34:10: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow] if((a<i)||(b>j)||(j-b+a-(i-l+1)>=t)||(j+l-1-b+a-i>=t)) return INF; ^ user.cpp: In function ‘int main()’: user.cpp:34:17: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if((a<i)||(b>j)||(j-b+a-(i-l+1)>=t)||(j+l-1-b+a-i>=t)) return INF; ^ user.cpp:34:10: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow] if((a<i)||(b>j)||(j-b+a-(i-l+1)>=t)||(j+l-1-b+a-i>=t)) return INF; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
116ms1128kbOK10
216ms1124kbOK10
356ms1516kbOK10
456ms1520kbOK10
5220ms3084kbOK10
6220ms3076kbOK10
7376ms4252kbOK10
8372ms4252kbOK10
9376ms4252kbOK10
10376ms4248kbOK10
Punctaj total100

Ceva nu functioneaza?