QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#769556 | #9628. 骰子 | proven# | AC ✓ | 0ms | 3644kb | C++20 | 951b | 2024-11-21 18:09:26 | 2024-11-21 18:09:28 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define int long long
void solve() {
// double ppmax;
// cin >> ppmax;
// double a, b, c, d, e, f;
// cin >> a >> b >> c >> d >> e >> f;
// double acc = 300 * a + 300 * b + 200 * c + 100 * d + 50 * e;
// acc /= (double)(300 * (a + b + c + d + e + f));
// cout << fixed << setprecision(2) << acc * 100 << "%" << " ";
// double pp = 320 * a + 300 * b + 200 * c + 100 * d + 50 * e;
// pp /= (double)(320 * (a + b + c + d + e + f));
// if(pp <= 0.8) cout << 0 << endl;
// else {
// pp -= 0.8;
// pp *= 5;
// pp *= ppmax;
// cout << (int)(pp + 0.5) << endl;
// }
int a, b;
cin >> a >> b;
cout << a * b * 6 << endl;
}
signed main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
int T = 1;
// cin >> T;
while(T--) {
solve();
}
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3592kb
input:
2 2
output:
24
result:
ok single line: '24'
Test #2:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
1000 1000
output:
6000000
result:
ok single line: '6000000'
Test #3:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
987 654
output:
3872988
result:
ok single line: '3872988'