結果
| 問題 |
No.188 HAPPY DAY
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-04-20 02:59:32 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 598 bytes |
| コンパイル時間 | 770 ms |
| コンパイル使用メモリ | 106,744 KB |
| 実行使用メモリ | 23,324 KB |
| 最終ジャッジ日時 | 2024-06-27 05:00:13 |
| 合計ジャッジ時間 | 1,158 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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 (j == 3 && m > 2) break;
else if (i == j + m) { count++; break; }
}
}
}
Console.WriteLine(count);
}
}