Submission #73771968
Source Code Expand
#ifdef NACHIA
#define _GLIBCXX_DEBUG
#endif
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll INF = 1ll << 60;
#define REP(i,n) for(ll i=0; i<ll(n); i++)
template <class T> using V = vector<T>;
template <class A, class B> void chmax(A& l, const B& r){ if(l < r) l = r; }
template <class A, class B> void chmin(A& l, const B& r){ if(r < l) l = r; }
void testcase(){
string S; cin >> S;
if(S[0] == '2'){
cout << "Success\n";
} else {
cout << "Failure\n";
}
}
int main(){
cin.tie(0)->sync_with_stdio(0);
testcase();
return 0;
}
Submission Info
| Submission Time | |
|---|---|
| Task | B - Status Code |
| User | Nachia |
| Language | C++23 (GCC 15.2.0) |
| Score | 100 |
| Code Size | 602 Byte |
| Status | AC |
| Exec Time | 1 ms |
| Memory | 3620 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt |
| All | 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 01_random_03.txt, 01_random_04.txt, 01_random_05.txt, 01_random_06.txt, 01_random_07.txt, 01_random_08.txt, 01_random_09.txt, 01_random_10.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 00_sample_00.txt | AC | 1 ms | 3552 KiB |
| 00_sample_01.txt | AC | 1 ms | 3620 KiB |
| 00_sample_02.txt | AC | 1 ms | 3620 KiB |
| 01_random_03.txt | AC | 1 ms | 3480 KiB |
| 01_random_04.txt | AC | 1 ms | 3528 KiB |
| 01_random_05.txt | AC | 1 ms | 3472 KiB |
| 01_random_06.txt | AC | 1 ms | 3484 KiB |
| 01_random_07.txt | AC | 1 ms | 3552 KiB |
| 01_random_08.txt | AC | 1 ms | 3536 KiB |
| 01_random_09.txt | AC | 1 ms | 3584 KiB |
| 01_random_10.txt | AC | 1 ms | 3468 KiB |