0_0_33847056_10421.c:3:1: error: unknown type name 'using'
using namespace std;
^
0_0_33847056_10421.c:3:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
using namespace std;
^
0_0_33847056_10421.c: In function 'main':
0_0_33847056_10421.c:7:8: error: 'cin' undeclared (first use in this function)
while(cin>>n){
^
0_0_33847056_10421.c:7:8: note: each undeclared identifier is reported only once for each function it appears in
0_0_33847056_10421.c:10:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=0;i<n;i++){
^
0_0_33847056_10421.c:10:3: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_33847056_10421.c:14:4: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=begin;j<end;j++){
^
0_0_33847056_10421.c:19:11: error: redefinition of 'i'
for(int i=0;i<60*24;i++){
^
0_0_33847056_10421.c:10:11: note: previous definition of 'i' was here
for(int i=0;i<n;i++){
^
0_0_33847056_10421.c:19:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=0;i<60*24;i++){
^
|