結果

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

ソースコード

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