結果
問題 | No.188 HAPPY DAY |
ユーザー | zmirez |
提出日時 | 2018-04-20 02:56:01 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 598 bytes |
コンパイル時間 | 1,945 ms |
コンパイル使用メモリ | 99,504 KB |
実行使用メモリ | 22,388 KB |
最終ジャッジ日時 | 2023-09-09 11:54:47 |
合計ジャッジ時間 | 2,376 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
(要ログイン)
コンパイルメッセージ
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); } }