Problem | squidzofrenzic |
---|---|
User | PlayVoltz |
Submission Time | 2023-05-18 21:09:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
squidzofrenzic.cpp: In function ‘bool check(int)’:
squidzofrenzic.cpp:7:20: error: ‘n’ was not declared in this scope
7 | for (int i = 0; i<n ++i){
| ^
squidzofrenzic.cpp:7:24: error: expected ‘;’ before ‘i’
7 | for (int i = 0; i<n ++i){
| ^
| ;
squidzofrenzic.cpp:8:11: error: ‘vect’ was not declared in this scope
8 | if (sum+vect[i]<current){
| ^~~~
squidzofrenzic.cpp:19:30: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
19 | if (possibility && count == m){
| ^
| tm
squidzofrenzic.cpp: In function ‘int main()’:
squidzofrenzic.cpp:34:36: error: expected ‘;’ before ‘i’
34 | for (int i = vect[-1]; i<=total ++i){
| ^
| ;