結果

問題 No.1517 Party Location
ユーザー pengin_2000
提出日時 2021-07-11 02:25:19
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 157 bytes
コンパイル時間 133 ms
コンパイル使用メモリ 27,136 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-11 11:16:06
合計ジャッジ時間 674 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>
int main()
{
	int a, b, d;
	scanf("%d %d %d", &d, &a, &b);
	if (a < b)
		printf("%d\n", d * a);
	else
		printf("%d\n", d * b);
	return 0;
}
0