Problem wrongreverse
User Myunz
Submission Time 2025-06-20 13:16:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

wrongreverse.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
wrongreverse.cpp: In function ‘int main()’:
wrongreverse.cpp:6:2: error: ‘ios_base’ has not been declared
6 | ios_base::sync_with_stdio(0);
| ^~~~~~~~
wrongreverse.cpp:7:5: error: ‘cin’ was not declared in this scope
7 | cin.tie(0);
| ^~~
wrongreverse.cpp:3:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
2 | #include <cstdio>
+++ |+#include <iostream>
3 | using namespace std;
wrongreverse.cpp:17:13: error: ‘cout’ was not declared in this scope
17 | cout << -1;
| ^~~~
wrongreverse.cpp:17:13: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
wrongreverse.cpp:24:13: error: ‘cout’ was not declared in this scope
24 |