Problem ultimateifelse
User Dam
Submission Time 2023-03-06 12:49:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ultimateifelse.cpp:1:2: error: invalid preprocessing directive #inlcude; did you mean #include?
1 | #inlcude <bits/stdc++.h>
| ^~~~~~~
| include
ultimateifelse.cpp: In function ‘int main()’:
ultimateifelse.cpp:5:2: error: ‘string’ was not declared in this scope
5 | string S;
| ^~~~~~
ultimateifelse.cpp:1:1: note: ‘std::string’ is defined in header ‘<string>’; did you forget to ‘#include <string>’?
+++ |+#include <string>
1 | #inlcude <bits/stdc++.h>
ultimateifelse.cpp:6:2: error: ‘cin’ was not declared in this scope
6 | cin >> N >> S;
| ^~~
ultimateifelse.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #inlcude <bits/stdc++.h>
ultimateifelse.cpp:6:14: error: ‘S’ was not declared in this scope
6 | cin >> N >> S;