結果
問題 | No.32 貯金箱の憂鬱 |
ユーザー | Suunn |
提出日時 | 2018-11-20 05:19:48 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 137 ms / 5,000 ms |
コード長 | 314 bytes |
コンパイル時間 | 2,511 ms |
コンパイル使用メモリ | 74,100 KB |
実行使用メモリ | 41,760 KB |
最終ジャッジ日時 | 2024-07-23 07:22:53 |
合計ジャッジ時間 | 4,828 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 12 |
ソースコード
import java.util.Scanner; public class Main{ public static void main(String args[])throws Exception{ 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); } }