Borderou de evaluare (job #1792286)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",rez[i]);
^
user.cpp:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zlego.in","r",stdin);
^
user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zlego.out","w",stdout);
^
user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:16:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:18:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:20:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&cost[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 5 |
2 | 0ms | 280kb | OK | 5 |
3 | 0ms | 272kb | OK | 5 |
4 | 0ms | 276kb | OK | 5 |
5 | 4ms | 340kb | OK | 5 |
6 | 4ms | 336kb | OK | 5 |
7 | 8ms | 336kb | OK | 5 |
8 | 8ms | 340kb | OK | 5 |
9 | 8ms | 360kb | OK | 5 |
10 | 8ms | 376kb | OK | 5 |
11 | 576ms | 5148kb | Incorect | 0 |
12 | 596ms | 5144kb | Incorect | 0 |
13 | 660ms | 5144kb | Incorect | 0 |
14 | 656ms | 5148kb | Incorect | 0 |
15 | 624ms | 5140kb | Incorect | 0 |
16 | 576ms | 5152kb | Incorect | 0 |
17 | 580ms | 5148kb | Incorect | 0 |
18 | 608ms | 5148kb | Incorect | 0 |
19 | 648ms | 5148kb | Incorect | 0 |
20 | 624ms | 5144kb | Incorect | 0 |
Punctaj total | 50 |