QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#736889#9628. 骰子CodeChild#AC ✓0ms3664kbC++201.1kb2024-11-12 13:49:492024-11-12 13:49:50

Judging History

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

  • [2024-11-12 13:49:50]
  • 评测
  • 测评结果:AC
  • 用时:0ms
  • 内存:3664kb
  • [2024-11-12 13:49:49]
  • 提交

answer

#include <iostream>
#include <cstring>
#include <queue>
#include <map>
#include <cstdio>
#include <unordered_map>
#include <deque>
#include <iomanip>
#include <cmath>
#include <vector>
#include <algorithm>
#include <stack>
#include <set>
#include <array>
#include <bitset>
#include <limits.h>
#include <numeric>
#define x first
#define y second

using namespace std;
typedef  long long LL;
typedef long long ll  ; 
typedef pair<int,int> PII;
typedef pair<int,LL> PIL;
typedef pair<int ,PII> PIII ;
typedef pair<int, pair<PII ,int > > PIIII;
typedef pair<LL , LL> PLL ; 
typedef pair<LL ,int > PLI ;
typedef pair<int,char > PIC ; 
typedef unsigned long long ULL ;
 
const int N = 5e5+10,M = 4e5+10  ;
const LL mod = 1e9+7 , INF = 1e18+10;
const int inf =  1e8 ; 
const double eps = 1e-7 ;
const ULL  P=  131 ;
LL n , m  , k   ;



void solve( ) {
	
	cin >> n >> m ;
	cout << n * m * 6 << '\n';
} 	
 
 
 
int main(){ 	
	ios::sync_with_stdio(false);
	cin.tie( 0 ) ; cout.tie(0) ;
	int T = 1 ;
	// cin >> T ;
	while(T-- ){	
		solve() ;  
   	}        
 	return  0 ;
}

详细

Test #1:

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

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: 3664kb

input:

987 654

output:

3872988

result:

ok single line: '3872988'