結果

問題 No.353 ヘイトプラス
ユーザー @abcde
提出日時 2019-02-19 22:48:01
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 268 bytes
コンパイル時間 410 ms
コンパイル使用メモリ 55,436 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-03 22:41:42
合計ジャッジ時間 902 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
typedef long long LL;

int main() {
    
    // 1. 入力情報取得.
    LL A, B;
    cin >> A >> B;
    
    // 2. A と B の和は?
    LL ans = A - (-B);
    
    // 出力.
    cout << ans << endl;
    return 0;
    
}
0