0_0_39729272_31404.cpp: In function 'int main()':
0_0_39729272_31404.cpp:6:9: error: 'cin' was not declared in this scope
6 | cin >> T;
| ^~~
0_0_39729272_31404.cpp:1:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
+++ |+#include <iostream>
1 | using namespace std;
0_0_39729272_31404.cpp:11:25: error: 'cout' was not declared in this scope
11 | cout << "YES" << endl;
| ^~~~
0_0_39729272_31404.cpp:11:25: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
0_0_39729272_31404.cpp:11:42: error: 'endl' was not declared in this scope
11 | cout << "YES" << endl;
| ^~~~
0_0_39729272_31404.cpp:1:1: note: 'std::endl' is defined in header '<ostream>'; did you forget to '#include <ostream>'?
+++ |+#include <ostream>
1 | using namespace std;
0_0_39729272_31404.cpp:14:25: error: 'cout' was not declared in this scope
14 | cout << "NO" << endl;
| ^~~~
0_0_39729272_31404.cpp:14:25: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
0_0_39729272_31404.cpp:14:41: error: 'endl' was not declared in this scope
14 | cout << "NO" << endl;
| ^~~~
0_0_39729272_31404.cpp:14:41: note: 'std::endl' is defined in header '<ostream>'; did you forget to '#include <ostream>'?
|