| Problem | candyshop |
|---|---|
| User | dooweidde |
| Submission Time | 2025-12-17 16:00:26 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
candyshop.cpp:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
1 | #inclde <bits/stdc++.h>
| ^~~~~~
| include
candyshop.cpp:5:1: error: ‘vector’ does not name a type
5 | vector<int>adj[200000];
| ^~~~~~
candyshop.cpp:7:1: error: ‘set’ does not name a type
7 | set<int>s[200000];
| ^~~
candyshop.cpp: In function ‘void dfs(long long int)’:
candyshop.cpp:10:14: error: ‘adj’ was not declared in this scope
10 | for (int i: adj[x]){
| ^~~
candyshop.cpp:12:7: error: ‘s’ was not declared in this scope
12 | if (s[i].size() > s[x].size()) swap(s[i], s[x]);
| ^
candyshop.cpp:12:34: error: ‘swap’ was not declared in this scope
12 | if (s[i].size() > s[x].size()) swap(s[i], s[x]);
| ^~~~
candyshop.cpp:13:16: error: ‘s’ was not declared in this scope
13 | for (int