結果
問題 | No.1423 Triangle of Multiples |
ユーザー | butsurizuki |
提出日時 | 2021-03-12 21:23:26 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 36 ms / 2,000 ms |
コード長 | 326 bytes |
コンパイル時間 | 1,904 ms |
コンパイル使用メモリ | 192,460 KB |
最終ジャッジ日時 | 2025-01-19 14:03:16 |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 4 |
ソースコード
#include<bits/stdc++.h> using namespace std; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); int t; cin >> t; while(t>0){ t--; long long a,b,c; cin >> a >> b >> c; cout << lcm(a,lcm(b,c)) << ' '; cout << lcm(a,lcm(b,c)) << ' '; cout << lcm(a,lcm(b,c)) << '\n'; } return 0; }