Pagini recente » Cod sursa (job #1869900) | Cod sursa (job #1209241) | Cod sursa (job #460652) | Cod sursa (job #713725) | Borderou de evaluare (job #1751036)
Borderou de evaluare (job #1751036)
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:36:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (D.size() > u) {
^
user.cpp:41:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (D.size() >= l && D.size() <= u && sum > sol)
^
user.cpp:41: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 |
1 | Depăşit | 268kb | Time limit exceeded. | 0 |
2 | 0ms | 296kb | Incorect | 0 |
3 | Depăşit | 264kb | Time limit exceeded. | 0 |
4 | 8ms | 420kb | Incorect | 0 |
5 | Depăşit | 268kb | Time limit exceeded. | 0 |
6 | Depăşit | 264kb | Time limit exceeded. | 0 |
7 | 20ms | 536kb | Incorect | 0 |
8 | Depăşit | 268kb | Time limit exceeded. | 0 |
9 | 28ms | 620kb | Incorect | 0 |
10 | Depăşit | 264kb | Time limit exceeded. | 0 |
Punctaj total | 0 |