0_0_37024401_15116.cpp: In function 'void solve()':
0_0_37024401_15116.cpp:5:5: error: 'db' was not declared in this scope
db n, m; int k;
^
0_0_37024401_15116.cpp:6:5: error: 'cin' was not declared in this scope
cin >> n >> m >> k;
^
0_0_37024401_15116.cpp:6:12: error: 'n' was not declared in this scope
cin >> n >> m >> k;
^
0_0_37024401_15116.cpp:6:17: error: 'm' was not declared in this scope
cin >> n >> m >> k;
^
0_0_37024401_15116.cpp:7:8: error: expected ';' before 'ans'
db ans = 0.0;
^
0_0_37024401_15116.cpp:10:16: error: expected ';' before 'p'
db p = 0.0;
^
0_0_37024401_15116.cpp:11:13: error: 'p' was not declared in this scope
p += (i-1)*(j-1) * (n-i+1)*(m-j+1); // 1 ╨мсроб
^
0_0_37024401_15116.cpp:21:13: error: 'ans' was not declared in this scope
ans += 1 - pow(1-p, k);
^
0_0_37024401_15116.cpp:21:34: error: 'pow' was not declared in this scope
ans += 1 - pow(1-p, k);
^
0_0_37024401_15116.cpp:24:5: error: 'cout' was not declared in this scope
cout << int(ans+0.5) << endl;
^
0_0_37024401_15116.cpp:24:17: error: 'ans' was not declared in this scope
cout << int(ans+0.5) << endl;
^
0_0_37024401_15116.cpp:24:29: error: 'endl' was not declared in this scope
cout << int(ans+0.5) << endl;
^
|