結果
| 問題 |
No.82 市松模様
|
| コンテスト | |
| ユーザー |
pirorirori_n712
|
| 提出日時 | 2018-07-24 00:12:32 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 377 bytes |
| コンパイル時間 | 927 ms |
| コンパイル使用メモリ | 108,188 KB |
| 実行使用メモリ | 25,560 KB |
| 最終ジャッジ日時 | 2024-12-31 21:21:15 |
| 合計ジャッジ時間 | 1,799 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 7 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
class No82{
static void Main(){
var a=Int32.Parse(Console.ReadLine());
var b=Int32.Parse(Console.ReadLine());
var c=Console.ReadLine();
for(int y=0;y<b;++y){
for(int x=0;x<a;++x){
Console.Write(c);
c=(c=="B")?"W":"B";
}
Console.WriteLine();
}
}
}
pirorirori_n712