0_0_33908097_10220.cpp:1:2: error: stray '#' in program
a#include<bits/stdc++.h>
^
0_0_33908097_10220.cpp:1:1: error: 'a' does not name a type
a#include<bits/stdc++.h>
^
0_0_33908097_10220.cpp:7:9: error: 'pair' does not name a type
typedef pair<int,int>P;
^
0_0_33908097_10220.cpp: In function 'void solve()':
0_0_33908097_10220.cpp:17:5: error: 'cin' was not declared in this scope
cin>>n>>m;
^
0_0_33908097_10220.cpp:19:39: error: 'min' was not declared in this scope
for(int j=0;j<=min({i-1,m,n-2});j++)
^
0_0_33908097_10220.cpp:24:39: error: 'min' was not declared in this scope
for(int j=0;j<=min({i-1,m,n-2});j++)
^
0_0_33908097_10220.cpp:29:5: error: 'cout' was not declared in this scope
cout<<(f[n][m][0]?f[n][m][0]:-1)<<'\n';
^
0_0_33908097_10220.cpp: In function 'int main()':
0_0_33908097_10220.cpp:33:2: error: 'ios' has not been declared
ios::sync_with_stdio(false);
^
0_0_33908097_10220.cpp:34:2: error: 'cin' was not declared in this scope
cin.tie(0);
^
|