Problem summoning
User skzy09
Submission Time 2026-06-26 16:59:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

summoning.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
summoning.cpp: In function ‘int main()’:
summoning.cpp:5:5: error: ‘ios_base’ has not been declared
5 | ios_base::sync_with_stdio(0);
| ^~~~~~~~
summoning.cpp:6:5: error: ‘cin’ was not declared in this scope
6 | cin.tie(0);
| ^~~
summoning.cpp:7:5: error: ‘cout’ was not declared in this scope
7 | cout.tie(0);
| ^~~~
summoning.cpp:10:5: error: ‘vector’ was not declared in this scope
10 | vector<int> p(n);
| ^~~~~~
summoning.cpp:10:12: error: expected primary-expression before ‘int’
10 | vector<int> p(n);
| ^~~
summoning.cpp:11:12: error: expected primary-expression before ‘int’
11 | vector<int> a(d);
| ^~~
summoning.cpp:12:12: error: expected primary-expression before ‘int’