0_0_38612372_1489.cpp: In function 'int main()':
0_0_38612372_1489.cpp:11:2: error: 'scanf' was not declared in this scope
scanf("%d",&T);
^~~~~
0_0_38612372_1489.cpp:11:2: note: suggested alternative: 'srand'
scanf("%d",&T);
^~~~~
srand
0_0_38612372_1489.cpp:31:3: error: 'cout' was not declared in this scope
cout<<x<<"/"<<y<<endl;
^~~~
0_0_38612372_1489.cpp:31:3: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
0_0_38612372_1489.cpp:2:1:
+#include <iostream>
using namespace std;
0_0_38612372_1489.cpp:31:3:
cout<<x<<"/"<<y<<endl;
^~~~
0_0_38612372_1489.cpp:31:20: error: 'endl' was not declared in this scope
cout<<x<<"/"<<y<<endl;
^~~~
0_0_38612372_1489.cpp:31:20: note: 'std::endl' is defined in header '<ostream>'; did you forget to '#include <ostream>'?
0_0_38612372_1489.cpp:2:1:
+#include <ostream>
using namespace std;
0_0_38612372_1489.cpp:31:20:
cout<<x<<"/"<<y<<endl;
^~~~
|