0_0_30555792_20663.cpp: In function 'int main()':
0_0_30555792_20663.cpp:6:28: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
while(scanf("%d%d",&a,&b==2 &&(a!=0 && b!=0)){
^
0_0_30555792_20663.cpp:6:47: error: expected ')' before '{' token
while(scanf("%d%d",&a,&b==2 &&(a!=0 && b!=0)){
^
|