Pagini recente » Borderou de evaluare (job #2007620) | Borderou de evaluare (job #1657131) | Borderou de evaluare (job #1547408) | Borderou de evaluare (job #1744612) | Borderou de evaluare (job #1530911)
Borderou de evaluare (job #1530911)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:16: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &N);
^
user.cpp:29:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &P[i]);
^
user.cpp:24:33: 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:26:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:29:21: 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 | 476kb | OK | 10 |
✓ | 2 | 0ms | 480kb | OK | 10 |
✓ | 3 | 0ms | 484kb | OK | 10 |
✓ | 4 | 0ms | 480kb | OK | 10 |
✓ | 5 | 0ms | 508kb | OK | 10 |
✓ | 6 | 0ms | 516kb | OK | 10 |
✓ | 7 | 20ms | 788kb | OK | 10 |
✓ | 8 | 16ms | 788kb | OK | 10 |
✓ | 9 | 44ms | 1176kb | OK | 10 |
✓ | 10 | 44ms | 1176kb | OK | 10 |
Punctaj total | 100 |