結果

問題 No.32 貯金箱の憂鬱
ユーザー takosamatakosama
提出日時 2017-12-17 20:24:11
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 57 ms / 5,000 ms
コード長 948 bytes
コンパイル時間 1,965 ms
コンパイル使用メモリ 98,156 KB
実行使用メモリ 22,924 KB
最終ジャッジ日時 2023-09-30 13:01:09
合計ジャッジ時間 3,407 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 56 ms
20,788 KB
testcase_01 AC 55 ms
20,732 KB
testcase_02 AC 55 ms
20,804 KB
testcase_03 AC 56 ms
20,672 KB
testcase_04 AC 56 ms
20,720 KB
testcase_05 AC 56 ms
20,820 KB
testcase_06 AC 56 ms
22,924 KB
testcase_07 AC 56 ms
20,804 KB
testcase_08 AC 57 ms
22,836 KB
testcase_09 AC 55 ms
22,824 KB
testcase_10 AC 56 ms
20,736 KB
testcase_11 AC 56 ms
22,748 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Security;
using System.Security.Permissions;

[assembly: AssemblyVersion("0.0.0.0")]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[module: UnverifiableCode]
public class C
{
static    public void Main()
    {
        int arg_22_0 = int.Parse(Console.ReadLine());
        int num = int.Parse(Console.ReadLine());
        int num2 = int.Parse(Console.ReadLine());
        int num3 = (arg_22_0 * 100 + num * 25 + num2) % 1000;
        int arg_3E_0 = num3 / 100;
        num3 %= 100;
        int arg_45_0 = arg_3E_0 + num3 / 25;
        num3 %= 25;
        Console.WriteLine(arg_45_0 + num3);
    }
}
0