結果

問題 No.1423 Triangle of Multiples
ユーザー lynmisakuralynmisakura
提出日時 2021-01-03 19:32:21
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 78 ms / 2,000 ms
コード長 342 bytes
コンパイル時間 2,055 ms
コンパイル使用メモリ 191,788 KB
最終ジャッジ日時 2025-01-17 09:28:15
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

// input validation
#include<bits/stdc++.h>
using namespace std;

int main(void){
    int t;cin >> t;
    assert(t >= 1 && t <= 30000);
    for(int i=0;i<t;i++){
        long long a,b,c;cin >> a >> b >> c;
        assert(min({a,b,c}) >= 1LL && max({a,b,c}) <= 1000000LL);
        cout << a*b*c << ' ' << a*b*c << ' ' << a*b*c << '\n';
    }
}
0