QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#751183#9628. 骰子walili#AC ✓0ms3720kbC++20811b2024-11-15 17:24:382024-11-15 17:24:39

Judging History

你现在查看的是最新测评结果

  • [2024-11-15 17:24:39]
  • 评测
  • 测评结果:AC
  • 用时:0ms
  • 内存:3720kb
  • [2024-11-15 17:24:38]
  • 提交

answer

#include <bits/stdc++.h>

using namespace std;
using ll = long long;
#define endl '\n'
const ll inf = 1e17;
const ll mod = 998244353;
//
//void oper(ll testcase) {
//    double ppmax,a,b,c,d,e,f;
//    cin>>ppmax>>a>>b>>c>>d>>e>>f;
//    double ans1=(300*a + 300*b + 200*c + 100*d + 50*e)/(300*(a+b+c+d+e+f));
//    double tmp=(320*a + 300*b + 200*c + 100*d + 50*e)/(320*(a+b+c+d+e+f));
//    double ans2=max(0.0,tmp-0.8)*5*ppmax;
//    cout<<ans1*100<<"% "<<(int)floor(ans2+0.5+1e-6)<<endl;
//}
void oper(ll texts){
    ll n,m;
    cin>>n>>m;

    cout<<n*m*6<<endl;
}

int main() {
    ios::sync_with_stdio(false);cin.tie(nullptr);cout.tie(nullptr);
    cout<<fixed<<setprecision(2);
    ll ttt = 1;
    //cin >> ttt;
    for (ll i = 1; i <= ttt; i++) {
        oper(i);
    }
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3624kb

input:

2 2

output:

24

result:

ok single line: '24'

Test #2:

score: 0
Accepted
time: 0ms
memory: 3720kb

input:

1000 1000

output:

6000000

result:

ok single line: '6000000'

Test #3:

score: 0
Accepted
time: 0ms
memory: 3640kb

input:

987 654

output:

3872988

result:

ok single line: '3872988'