結果
問題 | No.32 貯金箱の憂鬱 |
ユーザー |
![]() |
提出日時 | 2019-04-16 15:34:14 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 138 ms / 5,000 ms |
コード長 | 292 bytes |
コンパイル時間 | 2,094 ms |
コンパイル使用メモリ | 74,608 KB |
実行使用メモリ | 41,644 KB |
最終ジャッジ日時 | 2024-07-23 07:32:20 |
合計ジャッジ時間 | 4,493 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 12 |
ソースコード
import java.util.*;import java.util.stream.*;public class Main{public static void main(String... args){Scanner sc=new Scanner(System.in);int l=sc.nextInt();int m=sc.nextInt();int n=sc.nextInt();m+=n/25;n%=25;l+=m/4;m%=4;l%=10;System.out.println(l+m+n);}}