結果
問題 | No.128 お年玉(1) |
ユーザー |
![]() |
提出日時 | 2025-03-07 15:16:02 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 200 bytes |
コンパイル時間 | 396 ms |
コンパイル使用メモリ | 24,064 KB |
実行使用メモリ | 8,612 KB |
最終ジャッジ日時 | 2025-03-07 15:16:04 |
合計ジャッジ時間 | 1,520 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 5 WA * 16 |
ソースコード
#include <stdio.h>void main(void){int total = 0;int input = scanf("%d\n",&total);int children = 0;input = scanf("%d\n",&children);int gift = total/1000/children;printf("%d",gift*1000);}