Submission #50910


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include<iostream>
#include<string>
using namespace std;
signed main(){
cin.tie(0);
ios::sync_with_stdio(false);
long long a,b,c,p=0,o=0;
string e,f;
cin>>a>>e>>b;
if(e=="+"){
cout <<a+b<<'\n';
}
else{
cout <<a-b<<'\n';
}
return(0);
}

ステータス

項目 データ
問題 0935 - crom君の宿題
ユーザー名 ei1923
投稿日時 2019-06-25 17:09:30
言語 C++
状態 Accepted
得点 10
ソースコード長 280 Byte
最大実行時間 41 ms
最大メモリ使用量 604 KB

セット

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

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
input01.txt AC 41 ms 604 KB
1
input02.txt AC 34 ms 428 KB
1
input03.txt AC 37 ms 512 KB
1
input04.txt AC 24 ms 596 KB
1