結果
| 問題 |
No.1423 Triangle of Multiples
|
| コンテスト | |
| ユーザー |
pengin_2000
|
| 提出日時 | 2021-07-14 19:06:12 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 281 bytes |
| コンパイル時間 | 233 ms |
| コンパイル使用メモリ | 28,544 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-07-03 19:14:21 |
| 合計ジャッジ時間 | 1,002 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | WA * 4 |
ソースコード
#include<stdio.h>
int main()
{
int t;
scanf("%d", &t);
long long int a, b, c;
long long int r = 10000000000000;
for (; t > 0; t--)
{
scanf("%lld %lld %lld", &a, &b, &c);
a = r / a * a;
b = r / b * b;
c = r / c * c;
printf("%lld %lld %lld", a, b, c);
}
return 0;
}
pengin_2000