Borderou de evaluare (job #1696079)

Utilizator alexpetrescuAlexandru Petrescu alexpetrescu Data 28 aprilie 2016 13:35:13
Problema Nomem Status done
Runda simulare_lot_seniori_2 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
116ms1124kbOK10
216ms1128kbOK10
356ms1520kbOK10
456ms1520kbOK10
5220ms3084kbOK10
6224ms3080kbOK10
7368ms4248kbOK10
8368ms4252kbOK10
9368ms4248kbOK10
10368ms4252kbOK10
Punctaj total100

Ceva nu functioneaza?