提出 #57738903
ソースコード 拡げる
#include <bits/stdc++.h> #include <atcoder/all> using namespace std; using namespace atcoder; using ll = long long; using ld = long double; using mint = modint1000000007; #define rep(i,n) for (int i=0;i<(ll)(n);i++) #define inf 1e+18 #define pi 3.14159265358979323 int main(){ char ab,ac,bc; cin>>ab>>ac>>bc; if (ab=='<'){ if (ac=='<'){ if (bc=='<') cout<<'B'<<endl; else cout<<'C'<<endl; } if (ac=='>'){ if (bc=='<') cout<<'C'<<endl; else cout<<'A'<<endl; } } if (ab=='>'){ if (ac=='<') cout<<'A'<<endl; if (ac=='>'){ if (bc=='>') cout<<'B'<<endl; else cout<<'C'<<endl; } } return 0; }
提出情報
ジャッジ結果
セット名 | Sample | All | ||||
---|---|---|---|---|---|---|
得点 / 配点 | 0 / 0 | 150 / 150 | ||||
結果 |
|
|
セット名 | テストケース |
---|---|
Sample | 00_sample_01.txt, 00_sample_02.txt |
All | 00_sample_01.txt, 00_sample_02.txt, 01_test_01.txt, 01_test_02.txt, 01_test_03.txt, 01_test_04.txt |
ケース名 | 結果 | 実行時間 | メモリ |
---|---|---|---|
00_sample_01.txt | AC | 1 ms | 3476 KiB |
00_sample_02.txt | AC | 1 ms | 3400 KiB |
01_test_01.txt | AC | 1 ms | 3396 KiB |
01_test_02.txt | AC | 1 ms | 3532 KiB |
01_test_03.txt | AC | 1 ms | 3528 KiB |
01_test_04.txt | AC | 1 ms | 3396 KiB |