Problem nylunchtime
User dakingwawin
Submission Time 2024-10-18 09:58:30
Score 0

Compile Error

nylunchtime.cpp:1:1: error: ‘include’ does not name a type
1 | include<bits/stdc++.h>;
| ^~~~~~~
nylunchtime.cpp: In function ‘int main()’:
nylunchtime.cpp:3:19: error: ‘cin’ was not declared in this scope
3 | int main(){int x; cin>>x; if (x<60){cout<<"Yes";} else{cout<<"No";}}
| ^~~
nylunchtime.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | include<bits/stdc++.h>;
nylunchtime.cpp:3:37: error: ‘cout’ was not declared in this scope
3 | int main(){int x; cin>>x; if (x<60){cout<<"Yes";} else{cout<<"No";}}
| ^~~~
nylunchtime.cpp:3:37: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
nylunchtime.cpp:3:56: error: ‘cout’ was not declared in this scope