Borderou de evaluare (job #749027)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Mediana (clasa a 10-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 2 dec. 2023 13:18:48 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:17:14: error: stray '#' in program
17 | cin >> q;#include <bits/stdc++.h>
| ^
main.cpp: In function 'int main()':
main.cpp:17:15: error: 'include' was not declared in this scope
17 | cin >> q;#include <bits/stdc++.h>
| ^~~~~~~
main.cpp:17:24: error: 'bits' was not declared in this scope
17 | cin >> q;#include <bits/stdc++.h>
| ^~~~
main.cpp:17:29: error: 'stdc' was not declared in this scope; did you mean 'std'?
17 | cin >> q;#include <bits/stdc++.h>
| ^~~~
| std
main.cpp:20:1: error: expected primary-expression before 'using'
20 | using namespace std;
| ^~~~~
main.cpp:24:1: error: a template declaration cannot appear at block scope
24 | template<class T> using ordered_set = tree<T, null_type, less<T>, rb_tree_tag, tree_order_statistics_node_update>;
| ^~~~~~~~
main.cpp:51:2: error: expected '}' at end of input
51 | }
| ^
main.cpp:11:1: note: to match this '{'
11 | {
| ^