結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 55 ms
20,876 KB
testcase_01 AC 56 ms
22,920 KB
testcase_02 AC 55 ms
22,728 KB
testcase_03 AC 55 ms
22,824 KB
testcase_04 AC 55 ms
20,776 KB
testcase_05 AC 55 ms
22,924 KB
testcase_06 AC 55 ms
18,740 KB
testcase_07 AC 56 ms
20,864 KB
testcase_08 AC 57 ms
22,832 KB
testcase_09 AC 55 ms
20,684 KB
testcase_10 AC 55 ms
20,628 KB
testcase_11 AC 55 ms
20,788 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