結果

問題 No.1423 Triangle of Multiples
ユーザー 👑 箱星箱星
提出日時 2020-12-07 01:54:42
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
RE  
実行時間 -
コード長 564 bytes
コンパイル時間 8,795 ms
コンパイル使用メモリ 322,036 KB
実行使用メモリ 6,940 KB
最終ジャッジ日時 2024-04-21 18:50:42
合計ジャッジ時間 9,147 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
6,812 KB
testcase_01 AC 2 ms
6,812 KB
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#include "testlib.h"
using namespace std;
using ll = long long;

int main(int argc, char* argv[]) {
    registerValidation(argc, argv);
    int t = inf.readInt(1, 30000, "t");
    inf.readEoln();
    for (int i = 0; i < t; i++) {
        ll a = inf.readInt(1, 100000, "a");
        inf.readSpace();
        ll b = inf.readInt(1, 100000, "b");
        inf.readSpace();
        ll c = inf.readInt(1, 100000, "c");
        inf.readEoln();
        ll p = a * b * c;
        cout << p << " " << p << " " << p << endl;
    }
    inf.readEof();
}
0