Pagini recente » Borderou de evaluare (job #592636) | Borderou de evaluare (job #710651) | Borderou de evaluare (job #3206656) | Borderou de evaluare (job #19461) | Borderou de evaluare (job #1515860)
Borderou de evaluare (job #1515860)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:48:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", ans);
^
user.cpp:31:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("avioane.in", "r", stdin);
^
user.cpp:32:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("avioane.out", "w", stdout);
^
user.cpp:36:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:38:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &ticket[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 292kb | OK | 10 |
4 | 0ms | 352kb | OK | 10 |
5 | 4ms | 432kb | OK | 10 |
6 | 16ms | 744kb | OK | 10 |
7 | 32ms | 1048kb | OK | 10 |
8 | 48ms | 1372kb | Incorect | 0 |
9 | 64ms | 1828kb | Incorect | 0 |
10 | 64ms | 1828kb | Incorect | 0 |
Punctaj total | 70 |