answer.code: In function ‘int main()’:
answer.code:12:37: error: too few arguments to function ‘int putw(int, FILE*)’
12 | if (ch) putw('0');
| ~~~~^~~~~
In file included from /usr/include/c++/11/cstdio:42,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:46,
from answer.code:1:
/usr/include/stdio.h:556:12: note: declared here
556 | extern int putw (int __w, FILE *__stream);
| ^~~~
answer.code:13:36: error: too few arguments to function ‘int putw(int, FILE*)’
13 | else putw('1');
| ~~~~^~~~~
In file included from /usr/include/c++/11/cstdio:42,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:46,
from answer.code:1:
/usr/include/stdio.h:556:12: note: declared here
556 | extern int putw (int __w, FILE *__stream);
| ^~~~