結果

問題 No.128 お年玉(1)
ユーザー Maeda
提出日時 2025-03-07 15:18:27
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 3 ms / 5,000 ms
コード長 224 bytes
コンパイル時間 417 ms
コンパイル使用メモリ 24,320 KB
実行使用メモリ 8,608 KB
最終ジャッジ日時 2025-03-07 15:18:29
合計ジャッジ時間 1,793 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

void main(void){
	long long int total = 0;
	int input = scanf("%lld\n",&total);
	int children = 0;
	input = scanf("%d\n",&children);
	long long int gift = total/1000/children;
	printf("%lld",gift*1000);
}
0