結果

問題 No.1423 Triangle of Multiples
コンテスト
ユーザー 箱星
提出日時 2020-12-07 01:54:42
言語 C++17(gcc12)
(gcc 12.4.0 + boost 1.90.0)
コンパイル:
g++-12 -O2 -lm -std=c++17 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_
実行:
./a.out
結果
RE  
実行時間 -
コード長 564 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 6,248 ms
コンパイル使用メモリ 337,584 KB
実行使用メモリ 7,972 KB
最終ジャッジ日時 2026-06-15 18:58:37
合計ジャッジ時間 7,741 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge2_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 1 RE * 3
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#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