| Problem | candyshop |
|---|---|
| User | benji9736 |
| Submission Time | 2025-12-17 15:50:07 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
candyshop.cpp: In function ‘void dfs(long long int)’:
candyshop.cpp:10:7: error: ‘s’ was not declared in this scope
10 | if (s[i].size() > s[x].size()){
| ^
candyshop.cpp:15:7: error: ‘s’ was not declared in this scope
15 | if (s[x].size()){
| ^
At global scope:
cc1plus: error: ‘::main’ must return ‘int’
candyshop.cpp: In function ‘int main()’:
candyshop.cpp:29:4: error: ‘s’ was not declared in this scope
29 | s[i].clear();
| ^
candyshop.cpp:35:9: error: ‘x’ was not declared in this scope
35 | cin>>x;
| ^
candyshop.cpp:43:1: error: expected ‘}’ at end of input
43 | }
| ^
candyshop.cpp:21:11: note: to match this ‘{’
21 | int main(){
| ^