結果
問題 | No.3022 縛りFizzBuzz (Easy) |
ユーザー | くれちー |
提出日時 | 2017-03-31 01:43:17 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 1,039 bytes |
コンパイル時間 | 2,306 ms |
コンパイル使用メモリ | 106,968 KB |
実行使用メモリ | 25,768 KB |
最終ジャッジ日時 | 2023-09-21 09:00:44 |
合計ジャッジ時間 | 3,614 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | RE | - |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; using System.Linq; class Program { static void Main() { var table = new string[] { "", "", "/Rcc", "", "+^cc", "/Rcc", " ", "!", "/Rcc", "+^cc", "", "/Rcc", "", "", "/Rcc+^cc", "", " ", "/Rcc", "\"", "+^cc", "/Rcc", "", "", "/Rcc", "+^cc", "", "/Rcc", "!", "\"", "/Rcc+^cc", "", "", "/Rcc", "", "+^cc", "/Rcc", " ", "!", "/Rcc", "+^cc", "", "/Rcc", "", "", "/Rcc+^cc", "", " ", "/Rcc", "\"", "+^cc", "/Rcc", "", "", "/Rcc", "+^cc", "", "/Rcc", "!", "\"", "/Rcc+^cc", "", "", "/Rcc", "", "+^cc", "/Rcc", " ", "!", "/Rcc", "+^cc", " ", "/Rcc", " ", " ", "/Rcc+^cc", " ", " ", "/Rcc", " \"", "+^cc", "/Rcc", "!", "!", "/Rcc", "+^cc", "!", "/Rcc", "!!", "!\"", "/Rcc+^cc", "\"", "\"", "/Rcc", "\"", "+^cc", "/Rcc", "\" ", "\"!", "/Rcc", "+^cc" }; var n = int.Parse(Console.ReadLine()); for (var i = new int(); i <= n; i++) Console.WriteLine(new string(table[i].Select(c => (char)(c + ('F' - '/'))).ToArray())); } }