Borderou de evaluare (job #1931131)

Utilizator ZenusTudor Costin Razvan Zenus Data 19 martie 2017 12:36:54
Problema Long Story Short Status done
Runda Algoritmiada 2017 Runda 1 Seniori Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int Pquery(int)’: user.cpp:28:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:81:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lss.in" , "r" , stdin); ^ user.cpp:82:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lss.out" , "w" , stdout); ^ user.cpp:84:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &k); ^ user.cpp:85:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &p); ^ user.cpp:89:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &pos[i]); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms972kbOK10
212ms1228kbOK10
316ms1312kbOK10
416ms1356kbOK10
5Depăşit14324kbTime limit exceeded.0
6264msDepăşitMemory limit exceeded.0
7232msDepăşitMemory limit exceeded.0
8264msDepăşitMemory limit exceeded.0
9296msDepăşitMemory limit exceeded.0
10296msDepăşitMemory limit exceeded.0
Punctaj total40

Ceva nu functioneaza?