| Problem | fatty |
|---|---|
| User | Zubair |
| Submission Time | 2026-06-24 11:18:25 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
fatty.cpp:1:1: error: ‘lude’ does not name a type
1 | lude <bits/stdc++.h>
| ^~~~
fatty.cpp: In function ‘int main()’:
fatty.cpp:7:5: error: ‘cin’ was not declared in this scope
7 | cin >> n >> x;
| ^~~
fatty.cpp:8:5: error: ‘vector’ was not declared in this scope
8 | vector<long long> cost(n);
| ^~~~~~
fatty.cpp:8:12: error: expected primary-expression before ‘long’
8 | vector<long long> cost(n);
| ^~~~
fatty.cpp:10:16: error: ‘cost’ was not declared in this scope
10 | cin >> cost[i];
| ^~~~
fatty.cpp:12:12: error: expected primary-expression before ‘long’
12 | vector<long long> min_cost(x + 1, 1e18);
| ^~~~
fatty.cpp:16:9: error: ‘min_cost’ was not declared in this scope
16 | min_cost[type] = min(min_cost[type], cost[i]);
| ^~~~~~~