Borderou de evaluare (job #1399719)

Utilizator dragosnicolaeNicolae Dragos dragosnicolae Data 24 martie 2015 21:32:24
Problema Sume 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int f1(int*, int, int, int, int)’: user.cpp:11:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(p == u) ^ user.cpp: In function ‘int f2(int*, int, int, int, int)’: user.cpp:26:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(p == u) ^ user.cpp: In function ‘int main()’: user.cpp:107:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d", &n, &k); ^ user.cpp:111:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &x[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms428kbOK10
20ms436kbOK10
30ms452kbOK10
4Depăşit676kbTime limit exceeded.0
540ms984kbOK10
6Depăşit1296kbTime limit exceeded.0
7Depăşit1352kbTime limit exceeded.0
8100ms1804kbIncorect0
9Depăşit1804kbTime limit exceeded.0
10Depăşit1816kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?