Borderou de evaluare (job #1450022)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 11 iunie 2015 10:41:01
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ăşit2212kbTime limit exceeded.0
2Depăşit1868kbTime limit exceeded.0
3Depăşit1916kbTime limit exceeded.0
4Depăşit1548kbTime limit exceeded.0
5Depăşit1324kbTime limit exceeded.0
6284ms1340kbOK10
78ms716kbOK10
84ms716kbOK10
90ms680kbOK10
100ms676kbOK10
Punctaj total50

Ceva nu functioneaza?