結果
| 問題 |
No.188 HAPPY DAY
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-04-20 02:56:01 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 598 bytes |
| コンパイル時間 | 750 ms |
| コンパイル使用メモリ | 105,920 KB |
| 実行使用メモリ | 25,624 KB |
| 最終ジャッジ日時 | 2024-06-27 05:00:11 |
| 合計ジャッジ時間 | 1,111 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 1 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
class Program
{
static void Main(string[] args)
{
int count = 0;
for(int i = 1; i <= 12; i++)
{
for(int j = 0; j <= 3; j++)
{
if (j > i) break;
for(int m = 0; m <= 9; m++)
{
if (i == j + m) { count++; break; }
else if (j == 3 && m > 2) break;
}
}
}
Console.WriteLine(count);
}
}