Borderou de evaluare (job #1568288)

Utilizator florin.elfusFlorin Elfus florin.elfus Data 14 ianuarie 2016 04:23:34
Problema Secventa 5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘long long int solve(int, int)’: user.cpp:27:9: warning: unused variable ‘i’ [-Wunused-variable] int i, ptr = 0, best = 0; ^ user.cpp:27:21: warning: unused variable ‘best’ [-Wunused-variable] int i, ptr = 0, best = 0; ^ user.cpp: In function ‘bool good(int)’: user.cpp:24:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:51:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secv5.in", "r", stdin); ^ user.cpp:52:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secv5.out", "w", stdout); ^ user.cpp:55:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &n, &p, &u); ^ user.cpp:57:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%u", &x[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit408kbTime limit exceeded.0
2Depăşit436kbTime limit exceeded.0
3Depăşit504kbTime limit exceeded.0
4Depăşit792kbTime limit exceeded.0
5Depăşit1024kbTime limit exceeded.0
6Depăşit1648kbTime limit exceeded.0
7Depăşit3248kbTime limit exceeded.0
8Depăşit4388kbTime limit exceeded.0
9Depăşit9244kbTime limit exceeded.0
10Depăşit11444kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?