issues
search
luyencode
/
comments
Server lưu trữ bình luận trên Luyện Code
https://luyencode.net
6
stars
3
forks
source link
https://oj.luyencode.net/problem/DPDIVI
#913
Open
utterances-bot
opened
1 year ago
utterances-bot
commented
1 year ago
Chi tiết bài tập - Luyện Code Online
https://oj.luyencode.net/problem/DPDIVI
quanghuy121
commented
1 year ago
Xem code AC
```cpp #include
using namespace std; #define ll long long ll f[50][50]; int t, n, k; int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); f[0][0] = 1; for (int i = 1; i<=25; i++){ for (int j = 1; j<=25; j++){ f[i][j] = f[i-1][j-1] + j*f[i-1][j]; } } cin >> t; while (t--){ cin >> n >> k; cout << f[n][k] << endl; } } ```
Chi tiết bài tập - Luyện Code Online
https://oj.luyencode.net/problem/DPDIVI