QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#757819#9628. 骰子KnownError_#AC ✓0ms3576kbC++14587b2024-11-17 13:48:442024-11-17 13:48:44

Judging History

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

  • [2024-11-17 13:48:44]
  • 评测
  • 测评结果:AC
  • 用时:0ms
  • 内存:3576kb
  • [2024-11-17 13:48:44]
  • 提交

answer

#include <bits/stdc++.h>
using namespace std;

using ui = unsigned;
using ll = long long;
using ull = unsigned long long;
using ld = long double;
#define rep(i,l,r) for(int i=(l);i<=(r);++i)
#define per(i,l,r) for(int i=(l);i>=(r);--i)
#define repn(i,n) for(int i=0;i<(n);++i)
#define sizc(x) ((int)(x).size())
#define allc(x) (x).begin(),(x).end()
#define fir first
#define sec second



signed main(){
	// freopen(".in","r",stdin);
	// freopen(".out","w",stdout);
	ios::sync_with_stdio(false);
	cin.tie(nullptr);

    ll n,m;cin>>n>>m;
    cout<<n*m*6<<'\n';
}

詳細信息

Test #1:

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

input:

2 2

output:

24

result:

ok single line: '24'

Test #2:

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

input:

1000 1000

output:

6000000

result:

ok single line: '6000000'

Test #3:

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

input:

987 654

output:

3872988

result:

ok single line: '3872988'