結果

問題 No.1423 Triangle of Multiples
ユーザー DaYuanChiDaYuanChi
提出日時 2021-03-25 23:42:25
言語 C++17
(gcc 13.2.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 254 bytes
コンパイル時間 2,105 ms
コンパイル使用メモリ 198,628 KB
実行使用メモリ 4,500 KB
最終ジャッジ日時 2023-08-18 06:05:53
合計ジャッジ時間 3,009 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

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

int main(){
  int t; cin >> t;
  for(int i = 0; i < t; i++){
    ll a, b, c; cin >> a >> b >> c;
    ll d = lcm(lcm(a,b), c);
    cout << d << " " << d << " " << d;
  }
  return 0;
}
  
0