Borderou de evaluare (job #1751033)

Utilizator delia_ioanaCeapa Delia Ioana delia_ioana Data 31 august 2016 16:47:59
Problema Sum2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:22:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (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:13: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:14: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:16: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:19: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
1Depăşit240kbTime limit exceeded.0
2Depăşit240kbTime limit exceeded.0
3Depăşit236kbTime limit exceeded.0
4Depăşit244kbTime limit exceeded.0
5Depăşit236kbTime limit exceeded.0
6Depăşit244kbTime limit exceeded.0
7Depăşit240kbTime limit exceeded.0
8Depăşit240kbTime limit exceeded.0
9Depăşit236kbTime limit exceeded.0
10Depăşit236kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?