Pagini recente » Borderou de evaluare (job #1224995) | Borderou de evaluare (job #368170) | Borderou de evaluare (job #1225123) | Borderou de evaluare (job #2423876) | Borderou de evaluare (job #1272147)
Borderou de evaluare (job #1272147)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:44:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, k, l, a, b, c, sum, backsum, end, last;
^
user.cpp:47:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(inputFile.c_str(), "r", stdin);
^
user.cpp:48:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(outputFile.c_str(), "w", stdout);
^
user.cpp:51:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &K);
^
user.cpp:54:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &A[i]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 460kb | OK | 10 |
✓ | 2 | 0ms | 460kb | OK | 10 |
✓ | 3 | 0ms | 452kb | OK | 10 |
✓ | 4 | 0ms | 460kb | OK | 10 |
✓ | 5 | 48ms | 844kb | OK | 10 |
✓ | 6 | 56ms | 848kb | OK | 10 |
✓ | 7 | 68ms | 840kb | OK | 10 |
✓ | 8 | 104ms | 848kb | OK | 10 |
✓ | 9 | 224ms | 840kb | OK | 10 |
✓ | 10 | 224ms | 844kb | OK | 10 |
Punctaj total | 100 |