Submission #35722


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include<bits/stdc++.h>
using namespace std;
int main(){
long long a,b;
char c;
cin>>a>>c>>b;
if(c=='-'){
cout<<a-b<<endl;
}else{
cout<<a+b<<endl;
}
return 0;
}

ステータス

項目 データ
問題 0935 - crom君の宿題
ユーザー名 ei1725
投稿日時 2018-05-14 17:22:22
言語 C++11
状態 Accepted
得点 10
ソースコード長 208 Byte
最大実行時間 31 ms
最大メモリ使用量 708 KB

セット

セット 得点 Cases
1 ALL 10 / 10 *

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
input01.txt AC 31 ms 480 KB
1
input02.txt AC 23 ms 708 KB
1
input03.txt AC 20 ms 556 KB
1
input04.txt AC 21 ms 528 KB
1