Borderou de evaluare (job #1450023)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 11 iunie 2015 10:43:32
Problema Peste Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:44:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( ; S.size() > k; sum -= *S.begin(), S.erase(S.begin())); ^ user.cpp:25:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("peste.in","r",stdin); ^ user.cpp:26:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("peste.out","w",stdout); ^ user.cpp:28:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &n, &k, &total); ^ user.cpp:32:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &A[i].plasa, &A[i].timp); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit2208kbTime limit exceeded.0
2Depăşit1876kbTime limit exceeded.0
3Depăşit1912kbTime limit exceeded.0
4Depăşit1536kbTime limit exceeded.0
5Depăşit1328kbTime limit exceeded.0
6280ms1336kbOK10
712ms720kbOK10
84ms720kbOK10
90ms680kbOK10
100ms672kbOK10
Punctaj total50

Ceva nu functioneaza?