Borderou de evaluare (job #1969457)

Utilizator pas.andreiPopovici Andrei-Sorin pas.andrei Data 18 aprilie 2017 14:33:57
Problema Sudest Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘short int calc(short int, short int, short int)’: user.cpp:4:13: warning: overflow in implicit constant conversion [-Woverflow] #define INF 0x3f3f3f3f ^ user.cpp:15:39: note: in expansion of macro ‘INF’ if(pos==0 && (x!=1 || y!=1)) return -INF; ^ user.cpp:4:13: warning: overflow in implicit constant conversion [-Woverflow] #define INF 0x3f3f3f3f ^ user.cpp:16:25: note: in expansion of macro ‘INF’ if(x<1 || y<1) return -INF; ^ user.cpp: In function ‘int main()’: user.cpp:37:8: warning: unused variable ‘t’ [-Wunused-variable] short t,i,nr,n,j,k; ^ user.cpp:37:12: warning: unused variable ‘nr’ [-Wunused-variable] short t,i,nr,n,j,k; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms452kbOKAY!10
20ms452kbOKAY!10
30ms448kbOKAY!10
40ms460kbOKAY!10
50ms460kbOKAY!10
60ms464kbOKAY!10
70ms468kbOKAY!10
80ms468kbOKAY!10
90ms472kbOKAY!10
100msDepăşitMemory limit exceeded.0
Punctaj total90

Ceva nu functioneaza?