0_0_39157883_1149.cpp: In function 'void solve()':
0_0_39157883_1149.cpp:29:12: error: 'vis1' was not declared in this scope; did you mean 'vis'?
29 | if(vis1[a[i]]==0) f1++;
| ^~~~
| vis
0_0_39157883_1149.cpp:29:27: error: 'f1' was not declared in this scope
29 | if(vis1[a[i]]==0) f1++;
| ^~
0_0_39157883_1149.cpp:30:12: error: 'vis2' was not declared in this scope; did you mean 'vis'?
30 | if(vis2[b[i]]==0) f2++;
| ^~~~
| vis
0_0_39157883_1149.cpp:30:27: error: 'f2' was not declared in this scope
30 | if(vis2[b[i]]==0) f2++;
| ^~
0_0_39157883_1149.cpp:31:9: error: 'vis1' was not declared in this scope; did you mean 'vis'?
31 | vis1[a[i]]++;
| ^~~~
| vis
0_0_39157883_1149.cpp:32:9: error: 'vis2' was not declared in this scope; did you mean 'vis'?
32 | vis2[b[i]]++;
| ^~~~
| vis
0_0_39157883_1149.cpp:34:8: error: 'f1' was not declared in this scope
34 | if(f1==n&&f2==n) cout<<"Just a game of chance.\n";
| ^~
0_0_39157883_1149.cpp:34:15: error: 'f2' was not declared in this scope
34 | if(f1==n&&f2==n) cout<<"Just a game of chance.\n";
| ^~
|