Problem | catlunch |
---|---|
User | THXatGIT |
Submission Time | 2025-03-17 09:30:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
catlunch.cpp: In function ‘int main()’:
catlunch.cpp:3:6: error: ‘cin’ is not a member of ‘std’
3 | std::cin>>N>>K;
| ^~~
catlunch.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | int main(){
catlunch.cpp:8:10: error: ‘cin’ is not a member of ‘std’
8 | std::cin>>taste;
| ^~~
catlunch.cpp:8:10: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
catlunch.cpp:19:6: error: ‘cout’ is not a member of ‘std’
19 | std::cout<<tasty;
| ^~~~
catlunch.cpp:19:6: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?