QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#765220 | #9628. 骰子 | afeng111# | AC ✓ | 0ms | 3672kb | C++20 | 1.2kb | 2024-11-20 13:10:52 | 2024-11-20 13:10:57 |
Judging History
answer
#include <iostream>
#include <map>
#include <set>
#include <array>
#include <cmath>
#include <queue>
#include <stack>
#include <bitset>
#include <random> //mt19937 mtrand(time(0));
#include <string>
#include <time.h>
#include <vector>
#include <cstring>
#include <iomanip> //fixed<<setprecision(12)<<
#include <utility> //pair模板,std::move()
#include <assert.h>
#include <algorithm>
#include <unordered_map>
#define QAQ 0
#define endl '\n'
#define close \
std::ios::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0)
typedef long long ll;
typedef unsigned long long ull;
typedef double db;
const db pi = acos(-1);
const db eps = 1e-7;
const int inf = 1e9;
const ll INF = 2e18;
const int N = 1e6 + 7;
const int M = 5e6 + 7;
const int mod = 998244353;
const int base = 131;
using namespace std;
//
void solve()
{
// freopen("data.in.txt","r",stdin);
// freopen("data.out.txt","w",stdout);
int n,m;
cin>>n>>m;
cout<<6ll*n*m<<endl;
}
signed main()
{
close;
int t = 1;
// cin >> t;
while (t--)
{
solve();
}
return QAQ;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3668kb
input:
2 2
output:
24
result:
ok single line: '24'
Test #2:
score: 0
Accepted
time: 0ms
memory: 3592kb
input:
1000 1000
output:
6000000
result:
ok single line: '6000000'
Test #3:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
987 654
output:
3872988
result:
ok single line: '3872988'