0_0_36689888_15814.c: In function 'main':
0_0_36689888_15814.c:5:5: error: expected expression before '/' token
//ios::sync_with_stdio(0); cin.tie(0);cout.tie(0);
^
0_0_36689888_15814.c:5:32: error: 'cin' undeclared (first use in this function)
//ios::sync_with_stdio(0); cin.tie(0);cout.tie(0);
^
0_0_36689888_15814.c:5:32: note: each undeclared identifier is reported only once for each function it appears in
0_0_36689888_15814.c:5:43: error: 'cout' undeclared (first use in this function)
//ios::sync_with_stdio(0); cin.tie(0);cout.tie(0);
^
0_0_36689888_15814.c:13:13: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=1;i<=n/4;i++)printf("1001");
^
0_0_36689888_15814.c:13:13: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_36689888_15814.c:19:13: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=1;i<=n/4;i++)printf("1001");
^
0_0_36689888_15814.c:25:13: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=1;i<=n/4;i++)printf("1001");
^
0_0_36689888_15814.c:31:13: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=1;i<=n/4;i++)printf("1001");
^
|