Borderou de evaluare (job #2126853)

Utilizator VladGhetinaVlad Ghetina VladGhetina Data 10 februarie 2018 00:54:26
Problema Qxy Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void Read()’: user.cpp:14:21: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%hd" , &n); ^ user.cpp:14:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd" , &n); ^ user.cpp:20:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd" , &v[i]); ^ user.cpp:28:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &Q); ^ user.cpp:32:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d%d%d" , &st , &dr , &x , &y); ^ user.cpp: In function ‘int main()’: user.cpp:40:25: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(in,"r",stdin); ^ user.cpp:41:27: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(out,"w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
156ms3068kbIncorect0
268ms3864kbIncorect0
380ms8528kbIncorect0
424ms1152kbOK5
568ms3452kbIncorect0
672ms6708kbIncorect0
764ms6764kbIncorect0
840ms3132kbIncorect0
940ms2636kbOK5
1048msDepăşitMemory limit exceeded.0
1136msDepăşitMemory limit exceeded.0
1248msDepăşitMemory limit exceeded.0
1348msDepăşitMemory limit exceeded.0
1448msDepăşitMemory limit exceeded.0
1548msDepăşitMemory limit exceeded.0
1648msDepăşitMemory limit exceeded.0
1748msDepăşitMemory limit exceeded.0
1848msDepăşitMemory limit exceeded.0
1948msDepăşitMemory limit exceeded.0
2048msDepăşitMemory limit exceeded.0
Punctaj total10

Ceva nu functioneaza?