結果
問題 | No.32 貯金箱の憂鬱 |
ユーザー | atkrym |
提出日時 | 2016-11-07 18:28:47 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 139 ms / 5,000 ms |
コード長 | 398 bytes |
コンパイル時間 | 2,000 ms |
コンパイル使用メモリ | 74,064 KB |
実行使用メモリ | 41,628 KB |
最終ジャッジ日時 | 2024-07-23 02:26:33 |
合計ジャッジ時間 | 4,306 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 12 |
ソースコード
import java.util.*; public class Main { private static Scanner sc = new Scanner(System.in); public static void main(String[] args) throws Exception { 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); } }