結果
| 問題 |
No.222 引き算と足し算
|
| コンテスト | |
| ユーザー |
taba
|
| 提出日時 | 2016-04-16 05:51:40 |
| 言語 | Python2 (2.7.18) |
| 結果 |
AC
|
| 実行時間 | 12 ms / 1,000 ms |
| コード長 | 164 bytes |
| コンパイル時間 | 65 ms |
| コンパイル使用メモリ | 6,912 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2024-11-15 22:10:26 |
| 合計ジャッジ時間 | 1,413 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 31 |
ソースコード
x="" o=None y=list(raw_input()) if y[0]=="+" or y[0]=="-": x+=y.pop(0) while y[0].isdigit(): x+=y.pop(0) o=["+","-"][y.pop(0)=="+"] y="".join(y) print eval(x+o+y)
taba