| Problem | flamethrower |
|---|---|
| User | Tolo925kt |
| Submission Time | 2026-08-11 08:54:50 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:12:29: error: expected ‘;’ before ‘for’
12 | sort (v.rbegin(), v.rend())
| ^
| ;
13 | for (int t; for t <= k; t++) {
| ~~~
flamethrower.cpp:13:19: error: expected ‘(’ before ‘t’
13 | for (int t; for t <= k; t++) {
| ^
| (
flamethrower.cpp:13:19: error: ‘t’ was not declared in this scope
flamethrower.cpp:13:30: error: expected ‘;’ before ‘)’ token
13 | for (int t; for t <= k; t++) {
| ^
| ;
flamethrower.cpp:14:7: error: no match for ‘operator>>’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘std::vector<int>’)
14 | cin >> generic_vetcor = v[t]
| ~~~ ^~ ~~~~~~~~~~~~~~