Problem swords
User lucaleeeeee
Submission Time 2026-06-08 13:30:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
swords.cpp: In function ‘int main()’:
swords.cpp:5:2: error: ‘ios’ has not been declared
5 | ios::sync_with_stdio(false);
| ^~~
swords.cpp:6:5: error: ‘cin’ was not declared in this scope
6 | cin.tie(NULL);
| ^~~
swords.cpp:6:13: error: ‘NULL’ was not declared in this scope
6 | cin.tie(NULL);
| ^~~~
swords.cpp:1:1: note: ‘NULL’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
+++ |+#include <cstddef>
1 | include <bits/stdc++.h>
swords.cpp:7:5: error: ‘cout’ was not declared in this scope
7 | cout.tie(NULL);
| ^~~~
swords.cpp:10:5: error: ‘vector’ was not declared in this scope
10 | vector<int> array(n);
| ^~~~~~
swords.cpp:10:12: error: expected primary-expression b