結果
| 問題 |
No.8062 A + B
|
| コンテスト | |
| ユーザー |
vwxyz
|
| 提出日時 | 2022-09-07 00:59:49 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 42 ms / 2,000 ms |
| コード長 | 269 bytes |
| コンパイル時間 | 363 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 11,520 KB |
| 最終ジャッジ日時 | 2024-11-22 01:16:42 |
| 合計ジャッジ時間 | 1,455 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 8 |
ソースコード
from collections import defaultdict
import sys
from typing import Counter
readline=sys.stdin.readline
write=sys.stdout.write
from math import gcd as GCD
import math
A,B=readline().split()
if "+" in A+B or "-" in A+B:
ans=eval(A+B)
else:
ans=int(A+B)
print(ans)
vwxyz