0_0_33895405_31905.c:4:1: error: unknown type name 'using'
using namespace std;
^
0_0_33895405_31905.c:4:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
using namespace std;
^
0_0_33895405_31905.c: In function 'main':
0_0_33895405_31905.c:16:8: error: 'cin' undeclared (first use in this function)
while(cin>>n>>a>>b)
^
0_0_33895405_31905.c:16:8: note: each undeclared identifier is reported only once for each function it appears in
0_0_33895405_31905.c:18:11: error: 'cout' undeclared (first use in this function)
if(n==1) cout<<a;
^
0_0_33895405_31905.c:44:10: error: 'endl' undeclared (first use in this function)
cout<<endl;
^
|