結果
問題 | No.3022 縛りFizzBuzz (Easy) |
ユーザー | くれちー |
提出日時 | 2017-03-31 01:41:01 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 60 ms / 2,000 ms |
コード長 | 1,038 bytes |
コンパイル時間 | 2,275 ms |
コンパイル使用メモリ | 104,632 KB |
実行使用メモリ | 21,800 KB |
最終ジャッジ日時 | 2023-09-21 09:00:07 |
合計ジャッジ時間 | 3,353 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 59 ms
19,620 KB |
testcase_01 | AC | 60 ms
19,644 KB |
testcase_02 | AC | 60 ms
21,736 KB |
testcase_03 | AC | 59 ms
21,800 KB |
コンパイルメッセージ
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())); } }