結果
| 問題 |
No.172 UFOを捕まえろ
|
| コンテスト | |
| ユーザー |
nanophoto12
|
| 提出日時 | 2015-12-16 23:48:08 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 400 bytes |
| コンパイル時間 | 869 ms |
| コンパイル使用メモリ | 111,792 KB |
| 実行使用メモリ | 29,688 KB |
| 最終ジャッジ日時 | 2024-09-16 06:15:49 |
| 合計ジャッジ時間 | 2,590 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | WA * 21 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
using System.Collections.Generic;
using System.Linq;
namespace No172
{
class MainClass
{
public static void Main (string[] args)
{
var line = Console.ReadLine ().Split (' ').Select (v => Convert.ToInt32 (v)).ToArray ();
var x = Math.Abs(line [0]);
var y = Math.Abs(line [1]);
var r = line [2];
var s = x + y + r + 1;
Console.WriteLine (s.ToString ());
}
}
}
nanophoto12