結果

問題 No.188 HAPPY DAY
ユーザー merumeru_333333merumeru_333333
提出日時 2020-05-31 00:24:59
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 46 ms / 1,000 ms
コード長 560 bytes
コンパイル時間 3,618 ms
コンパイル使用メモリ 100,484 KB
実行使用メモリ 20,396 KB
最終ジャッジ日時 2023-08-08 14:53:12
合計ジャッジ時間 3,613 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 46 ms
20,396 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

class test
{
    static void Main()
    {
        int a = 0;
        for (int i = 1; i < 13; ++i)
        {
            for (int j = 1; j < 32; ++j)
            {
                if (j == 31)
                {
                    if (i == 2 || i == 4 || i == 6 || i == 9 || i == 11)
                    {
                        continue;
                    }
                }
                if (i == (j % 10 + j / 10))
                {
                    a++;
                }
            }
        }
        Console.WriteLine(a);
    }
}
0