結果
| 問題 |
No.8062 A + B
|
| コンテスト | |
| ユーザー |
lice6613
|
| 提出日時 | 2020-04-26 19:55:05 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 195 bytes |
| コンパイル時間 | 2,548 ms |
| コンパイル使用メモリ | 193,728 KB |
| 最終ジャッジ日時 | 2025-01-10 02:09:39 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | AC * 7 RE * 1 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
string A, B;
cin >> A >> B;
if (B[0] != '-') {
cout << A + B << endl;
} else {
cout << stoi(A) + stoi(B) << endl;
}
}
lice6613