| Problem | stonk |
|---|---|
| User | Karax |
| Submission Time | 2026-07-17 14:35:50 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
stonk.cpp: In function ‘int main()’:
stonk.cpp:10:5: error: ‘vetcor’ was not declared in this scope
10 | vetcor<int> a(n);
| ^~~~~~
stonk.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
stonk.cpp:10:12: note: in expansion of macro ‘int’
10 | vetcor<int> a(n);
| ^~~
stonk.cpp:13:16: error: ‘a’ was not declared in this scope
13 | cin >> a[i];
| ^
stonk.cpp:21:12: error: expected ‘(’ before ‘b’
21 | if b[i] > highest {
| ^
| (
stonk.cpp:24:11: error: ‘else’ without a previous ‘if’
24 | } else {
| ^~~~
stonk.cpp:25:13: error: ‘cum’ was not declared in this scope; did you mean ‘sum’?
25 | cum += a[i] * highest;
| ^~~
| sum
stonk.cpp:25:20: er