-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathB.cpp
28 lines (19 loc) · 752 Bytes
/
B.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/***** American International University Bangladesh (AIUB)
Hadiur Rahman Nabil
*****/
#include <bits/stdc++.h>
using namespace std;
int main(){
int n, k, nab;
cin >> n >> k;
nab = 0;
for (int i = 0; i < n; i++)
{
for (int j = 0; j < k; j++)
{
nab = nab+ (i+1)*100 + (j+1);
}
}
cout << nab << endl;
return 0;
}