int main(){ int n, t; cin >> n >> t; if(n == 1 && t == 10) cout << "-1"; if(t == 10) cout << 10 * pow(10,n-2); else cout << t * pow(10,n-1) << endl ; return 0; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)