0_0_35360350_15962.cpp:1:2: error: invalid preprocessing directive #includ
#includ <iostream>
^
0_0_35360350_15962.cpp: In function 'int main()':
0_0_35360350_15962.cpp:6:8: error: 'cin' was not declared in this scope
while(cin>>n)
^
0_0_35360350_15962.cpp:8:3: error: 'cout' was not declared in this scope
cout<<n*(n-1)/2<<endl;
^
0_0_35360350_15962.cpp:8:20: error: 'endl' was not declared in this scope
cout<<n*(n-1)/2<<endl;
^
|