Pagini recente » Borderou de evaluare (job #1188331) | Borderou de evaluare (job #2040360)
Borderou de evaluare (job #2040360)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:70:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("oneouts.in", "r", stdin);
^
user.cpp:71:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("oneouts.out", "w", stdout);
^
user.cpp:73:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &K); dr = 1e9;
^
user.cpp:74:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1; i<=n; ++i) scanf("%d", &dist[i]);
^
user.cpp:75:73: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1; i<=n; ++i) scanf("%d", &timp[i]), dr = min(dr, (ll)timp[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 464kb | OK | 10 |
2 | 0ms | 464kb | OK | 10 |
3 | 0ms | 492kb | OK | 10 |
4 | 4ms | 516kb | OK | 10 |
5 | 28ms | 816kb | OK | 10 |
6 | 28ms | 816kb | Incorect | 0 |
7 | 248ms | 3280kb | OK | 10 |
8 | 268ms | 3448kb | OK | 10 |
9 | 280ms | 3624kb | OK | 10 |
10 | 328ms | 3964kb | OK | 10 |
Punctaj total | 90 |