結果
| 問題 |
No.8022 縛りFizzBuzz (Easy)
|
| コンテスト | |
| ユーザー |
くれちー
|
| 提出日時 | 2017-03-31 01:41:01 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
|
| 実行時間 | 24 ms / 2,000 ms |
| コード長 | 1,038 bytes |
| コンパイル時間 | 899 ms |
| コンパイル使用メモリ | 113,088 KB |
| 実行使用メモリ | 27,140 KB |
| 最終ジャッジ日時 | 2024-07-07 03:16:30 |
| 合計ジャッジ時間 | 1,479 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 |
コンパイルメッセージ
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()));
}
}
くれちー