結果
| 問題 | No.353 ヘイトプラス |
| コンテスト | |
| ユーザー |
mnzn
|
| 提出日時 | 2020-04-23 14:42:28 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
|
| 実行時間 | 14 ms / 1,000 ms |
| コード長 | 522 bytes |
| 記録 | |
| コンパイル時間 | 2,138 ms |
| コンパイル使用メモリ | 104,192 KB |
| 実行使用メモリ | 18,688 KB |
| 最終ジャッジ日時 | 2026-05-01 00:55:10 |
| 合計ジャッジ時間 | 3,219 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 7 |
コンパイルメッセージ
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.IO;
using System.Linq;
class Program
{
static void Main(string[] args)
{
var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false };
Console.SetOut(sw);
Solve();
Console.Out.Flush();
}
static void Solve()
{
var s = Console.ReadLine().Split(' ');
var a = int.Parse(s[0]);
var b = int.Parse(s[1]);
var ans = -(-a - b);
Console.WriteLine(ans);
}
}
mnzn