0_0_39299503_18855.c:3:1: error: unknown type name 'using'
3 | using namespace std;
| ^~~~~
0_0_39299503_18855.c:3:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
3 | using namespace std;
| ^~~
0_0_39299503_18855.c: In function 'main':
0_0_39299503_18855.c:7:5: error: 'cin' undeclared (first use in this function)
7 | cin.tie(nullptr)->sync_with_stdio(false);
| ^~~
0_0_39299503_18855.c:7:5: note: each undeclared identifier is reported only once for each function it appears in
0_0_39299503_18855.c:7:13: error: 'nullptr' undeclared (first use in this function); did you mean 'nullptr_t'?
7 | cin.tie(nullptr)->sync_with_stdio(false);
| ^~~~~~~
| nullptr_t
0_0_39299503_18855.c:7:39: error: 'false' undeclared (first use in this function)
7 | cin.tie(nullptr)->sync_with_stdio(false);
| ^~~~~
0_0_39299503_18855.c:1:1: note: 'false' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'?
+++ |+#include <stdbool.h>
1 |
0_0_39299503_18855.c:11:22: error: 'cout' undeclared (first use in this function)
11 | if (cnt & 1) cout << 1 << '\n';
| ^~~~
|