Pagini recente » Borderou de evaluare (job #2340331) | Borderou de evaluare (job #1314031) | Borderou de evaluare (job #1074485) | Borderou de evaluare (job #2207051) | Borderou de evaluare (job #1560965)
Borderou de evaluare (job #1560965)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:18: warning: unused variable ‘j’ [-Wunused-variable]
int n, k, i, j, t, s, ma, mi, mid;
^
user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.in","r",stdin);
^
user.cpp:10:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.out","w",stdout);
^
user.cpp:16:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:18:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 272kb | OK | 10 |
5 | 0ms | 296kb | OK | 10 |
6 | 0ms | 312kb | OK | 10 |
7 | 4ms | 320kb | OK | 10 |
8 | 4ms | 332kb | OK | 10 |
9 | 4ms | 336kb | OK | 10 |
10 | 4ms | 336kb | OK | 10 |
Punctaj total | 100 |