Colors.cpp: In function 'int main()':
Colors.cpp:40:30: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
40 | printf("? %lld\n",nt);
| ~~~^ ~~
| | |
| | int
| long long int
| %d
Colors.cpp:66:9: error: 's' was not declared in this scope
66 | s.insert(one);
| ^
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:13:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
13 | scanf("%d",&got);
| ~~~~~^~~~~~~~~~~
Colors.cpp:16:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
16 | scanf("%d",&got);
| ~~~~~^~~~~~~~~~~
Colors.cpp:26:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
26 | scanf("%d",&got);
| ~~~~~^~~~~~~~~~~
Colors.cpp:42:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
42 | scanf("%d",&got);
| ~~~~~^~~~~~~~~~~
Colors.cpp:70:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
70 | scanf("%d",&got);
| ~~~~~^~~~~~~~~~~
Colors.cpp:73:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
73 | scanf("%d",&got);
| ~~~~~^~~~~~~~~~~
Colors.cpp:81:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
81 | scanf("%d",&got);
| ~~~~~^~~~~~~~~~~