sequence.cpp:16:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
16 | main(){
| ^
sequence.cpp: In function 'int main()':
sequence.cpp:35:23: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for (i=0;i<v.size();++i){
| ~^~~~~~~~~
sequence.cpp:51:23: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
51 | for (i=0;i<v.size();++i){
| ~^~~~~~~~~
sequence.cpp:68:23: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
68 | for (i=0;i<v.size();++i){
| ~^~~~~~~~~
sequence.cpp:20:19: warning: unused variable 'j' [-Wunused-variable]
20 | int a,b,i,j;
| ^
sequence.cpp:9:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
9 | #define scan1(a) scanf("%lld",&a);
| ~~~~~^~~~~~~~~~~
sequence.cpp:18:5: note: in expansion of macro 'scan1'
18 | scan1(t)
| ^~~~~
sequence.cpp:10:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
10 | #define scan2(a,b) scanf("%lld %lld",&a, &b);
| ~~~~~^~~~~~~~~~~~~~~~~~~~
sequence.cpp:21:9: note: in expansion of macro 'scan2'
21 | scan2(a,b)
| ^~~~~