結果

問題 No.1423 Triangle of Multiples
ユーザー pengin_2000pengin_2000
提出日時 2021-07-14 19:06:12
言語 C
(gcc 12.3.0)
結果
WA  
実行時間 -
コード長 281 bytes
コンパイル時間 929 ms
コンパイル使用メモリ 27,252 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-16 19:52:18
合計ジャッジ時間 1,992 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#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;
}
0