結果
| 問題 |
No.188 HAPPY DAY
|
| コンテスト | |
| ユーザー |
soi09476291
|
| 提出日時 | 2019-11-09 20:55:08 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
|
| 実行時間 | 22 ms / 1,000 ms |
| コード長 | 955 bytes |
| コンパイル時間 | 2,124 ms |
| コンパイル使用メモリ | 102,784 KB |
| 実行使用メモリ | 17,280 KB |
| 最終ジャッジ日時 | 2024-09-15 04:51:52 |
| 合計ジャッジ時間 | 2,812 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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