結果
問題 |
No.32 貯金箱の憂鬱
|
ユーザー |
|
提出日時 | 2017-12-17 19:51:15 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 706 bytes |
コンパイル時間 | 1,110 ms |
コンパイル使用メモリ | 109,860 KB |
実行使用メモリ | 25,936 KB |
最終ジャッジ日時 | 2024-12-15 22:53:00 |
合計ジャッジ時間 | 1,638 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 3 WA * 9 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; namespace yukicore { internal class Program { private static void Main(string[] args) { int [] nums=new int[3]; int nums0 = int.Parse(Console.ReadLine()); int nums1 = int.Parse(Console.ReadLine()); int nums2 = int.Parse(Console.ReadLine()); int count = nums0 % 25; nums1 += nums0 / 25; count += nums1% 4; nums2 += nums1 / 4; count += nums2 % 10; Console.WriteLine(count); } } }