Submission #57763897
Source Code Expand
#include<bits/stdc++.h>
using namespace std;
#define debug cout<<"Debug\n";
#define yes cout<<"YES"<<'\n';
#define no cout<<"NO"<<'\n';
#define en '\n'
#define all(x) x.begin() , x.end()
#define ll long long
#define ull unsigned long long
#define pi acos(-1.0)
#define mod 1000000007
#define _fastio_ ios_base:: sync_with_stdio(false); cin.tie(0); cout.tie(0);
int main(){
_fastio_
char ab,ac,bc;
cin>>ab>>ac>>bc;
if(ab=='<'){
if(bc=='<') cout<<'B'<<en;
else{
if(ac=='<') cout<<"C"<<en;
else cout<<"A"<<en;
}
}
else{
if(bc=='>') cout<<"B"<<en;
else{
if(ac=='>') cout<<"C"<<en;
else cout<<"A"<<en;
}
}
return 0;
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - Jiro |
| User | ComplexityCutter |
| Language | C++ 20 (gcc 12.2) |
| Score | 150 |
| Code Size | 807 Byte |
| Status | AC |
| Exec Time | 1 ms |
| Memory | 3480 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 150 / 150 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| 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 |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 00_sample_01.txt | AC | 1 ms | 3404 KiB |
| 00_sample_02.txt | AC | 1 ms | 3480 KiB |
| 01_test_01.txt | AC | 1 ms | 3472 KiB |
| 01_test_02.txt | AC | 1 ms | 3448 KiB |
| 01_test_03.txt | AC | 1 ms | 3388 KiB |
| 01_test_04.txt | AC | 1 ms | 3472 KiB |