QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#765220#9628. 骰子afeng111#AC ✓0ms3672kbC++201.2kb2024-11-20 13:10:522024-11-20 13:10:57

Judging History

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

  • [2024-11-20 13:10:57]
  • 评测
  • 测评结果:AC
  • 用时:0ms
  • 内存:3672kb
  • [2024-11-20 13:10:52]
  • 提交

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;
}

詳細信息

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'