Problem sana
User vs358
Submission Time 2024-12-30 14:06:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sana.cpp:1:1: error: stray ‘\’ in program
1 | \#include <bits/stdc++.h>
| ^
sana.cpp:1:2: error: stray ‘#’ in program
1 | \#include <bits/stdc++.h>
| ^
sana.cpp:1:3: error: ‘include’ does not name a type
1 | \#include <bits/stdc++.h>
| ^~~~~~~
sana.cpp:16:9: error: ‘pair’ does not name a type
16 | typedef pair<int, int> pi;
| ^~~~
sana.cpp:17:9: error: ‘pair’ does not name a type
17 | typedef pair<int, pi> ipi;
| ^~~~
sana.cpp:18:9: error: ‘pair’ does not name a type
18 | typedef pair<pi, int> pii;
| ^~~~
sana.cpp: In function ‘void solve()’:
sana.cpp:24:5: error: ‘cin’ was not declared in this scope
24 | cin >> n;
| ^~~
sana.cpp:25:5: error: ‘vector’ was not declared in this scope
25 | vector<pi> a(n);
| ^~~~~~
sana.cpp:25:12: error: ‘pi’ was not d