Borderou de evaluare (job #1931052)

Utilizator ZenusTudor Costin Razvan Zenus Data 19 martie 2017 12:24:17
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:25:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:76: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:77: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:79:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &k); ^ user.cpp:80:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &p); ^ user.cpp:84: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
14ms1276kbOK10
24ms1280kbOK10
34ms1276kbOK10
44ms1276kbOK10
5Depăşit2004kbTime limit exceeded.0
6Depăşit2004kbTime limit exceeded.0
7Depăşit2012kbTime limit exceeded.0
8Depăşit2008kbTime limit exceeded.0
9Depăşit2012kbTime limit exceeded.0
10Depăşit2008kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?