Problem | medianstring |
---|---|
User | Usu |
Submission Time | 2025-08-11 08:52:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
medianstring.cpp:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
1 | #inclde <bits/stdc++.h>
| ^~~~~~
| include
medianstring.cpp: In function ‘int main()’:
medianstring.cpp:5:9: error: ‘cin’ was not declared in this scope
5 | int n; cin >> n;
| ^~~
medianstring.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #inclde <bits/stdc++.h>
medianstring.cpp:11:2: error: ‘cout’ was not declared in this scope
11 | cout << k;
| ^~~~
medianstring.cpp:11:2: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?