Pagini recente » Borderou de evaluare (job #1693703) | Borderou de evaluare (job #1647185) | Borderou de evaluare (job #808858) | Borderou de evaluare (job #2562093) | Borderou de evaluare (job #1532169)
Borderou de evaluare (job #1532169)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int64* {aka long long int*}’ [-Wformat=]
scanf("%d", &P[i]);
^
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("buget.in", "r", stdin);
^
user.cpp:27:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("buget.out", "w", stdout);
^
user.cpp:30:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld", &N, &B);
^
user.cpp:33:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &P[i]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 300kb | OK | 10 |
✓ | 2 | 0ms | 300kb | OK | 10 |
✓ | 3 | 0ms | 304kb | OK | 10 |
✓ | 4 | 0ms | 304kb | OK | 10 |
✓ | 5 | 0ms | 336kb | OK | 10 |
✓ | 6 | 0ms | 344kb | OK | 10 |
✓ | 7 | 28ms | 616kb | OK | 10 |
✓ | 8 | 16ms | 616kb | OK | 10 |
✓ | 9 | 72ms | 1008kb | OK | 10 |
✓ | 10 | 52ms | 1008kb | OK | 10 |
Punctaj total | 100 |