結果
| 問題 |
No.353 ヘイトプラス
|
| コンテスト | |
| ユーザー |
mnzn
|
| 提出日時 | 2020-04-23 14:42:28 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
|
| 実行時間 | 23 ms / 1,000 ms |
| コード長 | 522 bytes |
| コンパイル時間 | 970 ms |
| コンパイル使用メモリ | 107,520 KB |
| 実行使用メモリ | 24,048 KB |
| 最終ジャッジ日時 | 2024-10-13 14:16:41 |
| 合計ジャッジ時間 | 1,907 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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