Submission #00265


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include<iostream>
#include<cstdio>
#include<string>
using namespace std;
int main(){
int n;
int a,b;
string q;
cin >> n;
while(n--){
cin >> q;
cin >> a >> b;
if(q=="<<")
printf("%d\n",a<<b);
else
printf("%d\n",a>>b);
}
return 0;
}

ステータス

項目 データ
問題 0011 - 論理的な英雄王 3rd
ユーザー名 ei1710
投稿日時 2017-11-06 18:28:20
言語 C++
状態 Accepted
得点 11
ソースコード長 295 Byte
最大実行時間 23 ms
最大メモリ使用量 704 KB

セット

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

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
Input01.txt AC 17 ms 480 KB
1
Input02.txt AC 20 ms 704 KB
1
Input03.txt AC 23 ms 676 KB
1
Input04.txt AC 16 ms 520 KB
1
Input05.txt AC 17 ms 500 KB
1