Judge Information
./test.cpp: In function 'int main()':
./test.cpp:6:21: error: 'swap' was not declared in this scope
if(a<b){swap(a,b);}
^
./test.cpp:13:17: error: 'i' was not declared in this scope
printf("%d",i);
^
./test.cpp:5:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&a,&b);
^
./test.cpp:14:20: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
system("pause");
^