結果
| 問題 | No.188 HAPPY DAY |
| コンテスト | |
| ユーザー |
soi09476291
|
| 提出日時 | 2019-11-09 20:55:08 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
不安定
|
| 実行時間 | 13 ms / 1,000 ms |
| + 420µs | |
| コード長 | 955 bytes |
| 記録 | |
| コンパイル時間 | 2,000 ms |
| コンパイル使用メモリ | 103,936 KB |
| 実行使用メモリ | 18,048 KB |
| 最終ジャッジ日時 | 2026-08-27 18:06:57 |
| 合計ジャッジ時間 | 3,045 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
namespace ConsoleApp11
{
class Program
{
static void Main(string[] args)
{
int count = 0;
for(int i = 1; i <= 12; i++)
{
for(int j = 1; j <= 30; j++)
{
if(i == j)
{
count++;
}
}
}
for(int i = 1; i <= 12; i++)
{
for(int j = 1; j <= 3; j++)
{
for(int k = 1; k <= 9; k++)
{
if(j == 3)
{
break;
}
else if(i == (j + k))
{
count++;
}
}
}
}
Console.WriteLine(count);
}
}
}
soi09476291