Borderou de evaluare (job #1751043)

Utilizator delia_ioanaCeapa Delia Ioana delia_ioana Data 31 august 2016 17:03:09
Problema Sum2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:23:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (!D.empty() && D.size() - j >= l) { ^ user.cpp:38:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (D.size() > u) { ^ user.cpp:43:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (D.size() >= l && D.size() <= u && sum > sol) ^ user.cpp:43:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (D.size() >= l && D.size() <= u && sum > sol) ^ user.cpp:14:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sum2.in", "r", stdin); ^ user.cpp:15:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sum2.out", "w", stdout); ^ user.cpp:17:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &n, &l, &u); ^ user.cpp:20:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &nums[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms456kbOK10
20ms452kbOK10
3Depăşit468kbTime limit exceeded.0
4Depăşit460kbTime limit exceeded.0
5Depăşit460kbTime limit exceeded.0
6Depăşit476kbTime limit exceeded.0
7Depăşit464kbTime limit exceeded.0
8Depăşit464kbTime limit exceeded.0
9Depăşit456kbTime limit exceeded.0
10Depăşit460kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?