Problem | valves |
---|---|
User | InfinityIntegral |
Submission Time | 2022-12-28 16:18:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
valves.cpp:27:1: error: expected ‘,’ or ‘;’ before ‘struct’
27 | struct node {
| ^~~~~~
valves.cpp: In function ‘int main()’:
valves.cpp:130:3: error: ‘node’ was not declared in this scope
130 | node aime(1,n);
| ^~~~
valves.cpp:137:5: error: ‘aime’ was not declared in this scope; did you mean ‘time’?
137 | aime.update(b,c,d);
| ^~~~
| time
valves.cpp:147:5: error: ‘aime’ was not declared in this scope; did you mean ‘time’?
147 | aime.flow(b);
| ^~~~
| time
valves.cpp:157:13: error: ‘aime’ was not declared in this scope; did you mean ‘time’?
157 | cout << aime.query(b,c)%p << "\n";
| ^~~~
| time
valves.cpp:162:3: error: ‘node’ was not declared in this scope
162 | node aime(1,n);
| ^~~~
valves.cpp:169:5: error: ‘aime’ was not declared in this scope; did you mean ‘time’?
169 |