Colors.cpp: In function 'int main()':
Colors.cpp:39:26: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
39 | printf("? %lld\n",nt);
| ~~~^ ~~
| | |
| | int
| long long int
| %d
Colors.cpp:6:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
6 | scanf("%lld",&n);
| ~~~~~^~~~~~~~~~~
Colors.cpp:12:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
12 | scanf("%d",&got);
| ~~~~~^~~~~~~~~~~
Colors.cpp:15:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
15 | scanf("%d",&got);
| ~~~~~^~~~~~~~~~~
Colors.cpp:25:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
25 | scanf("%d",&got);
| ~~~~~^~~~~~~~~~~
Colors.cpp:41:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
41 | scanf("%d",&got);
| ~~~~~^~~~~~~~~~~