結果
| 問題 |
No.785 色食い虫
|
| コンテスト | |
| ユーザー |
keymoon
|
| 提出日時 | 2019-02-23 22:02:54 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 707 bytes |
| コンパイル時間 | 1,020 ms |
| コンパイル使用メモリ | 106,992 KB |
| 実行使用メモリ | 29,020 KB |
| 最終ジャッジ日時 | 2024-12-14 14:29:14 |
| 合計ジャッジ時間 | 2,837 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 22 WA * 6 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
using System.IO;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using System.Numerics;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using static System.Math;
using Debug = System.Diagnostics.Debug;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
class Ph
{
static void Main()
{
int r = (16 - Console.ReadLine().Replace("NONE", "").Split(',').Count());
int g = (16 - Console.ReadLine().Replace("NONE", "").Split(',').Count());
int b = (16 - Console.ReadLine().Replace("NONE", "").Split(',').Count());
Console.WriteLine(r * r * g * g * b * b);
}
}
keymoon