Submission #69097528
Source Code Expand
#include "atcoder/all" //#include "atcoder/modint" //#pragma GCC optimize("Ofast") #include <bits/stdc++.h> #include <string> using namespace std; using namespace atcoder; #define int long long template<class T>bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; } template<class T>bool chmin(T &a, const T &b) { if (b<a) { a=b; return 1; } return 0; } //const int MOD =1e9+7; //constexpr int MOD =10; constexpr int MOD =998244353; const long long M1=167772161,M2=469762049,M3=1224736769; //const int MOD =31607; using mint = static_modint<MOD>; //using mint = double; //using mint = modint; ostream& operator << (ostream& ost, const mint& m){ost << m.val();return ost;} istream& operator >> (istream& ost, mint& m){int a;ost >> a;m=a;return ost;} double time_limit = 10.0,start_temp=5.0,end_temp=0.0; std::random_device seed_gen; std::mt19937 engine(seed_gen()); signed main(){ //ios_base::sync_with_stdio(false); //cin.tie(NULL); string s; cin >> s; if(s[2]=='8')s[0]++,s[2]='1'; else s[2]++; cout << s << endl; }
Submission Info
Submission Time | |
---|---|
Task | A - Stage Clear |
User | yatuba |
Language | C++ 20 (gcc 12.2) |
Score | 100 |
Code Size | 1155 Byte |
Status | AC |
Exec Time | 2 ms |
Memory | 3688 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, 01_random_11.txt, 01_random_12.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00_sample_00.txt | AC | 1 ms | 3500 KiB |
00_sample_01.txt | AC | 1 ms | 3396 KiB |
00_sample_02.txt | AC | 1 ms | 3444 KiB |
01_random_03.txt | AC | 1 ms | 3684 KiB |
01_random_04.txt | AC | 1 ms | 3564 KiB |
01_random_05.txt | AC | 1 ms | 3560 KiB |
01_random_06.txt | AC | 1 ms | 3560 KiB |
01_random_07.txt | AC | 2 ms | 3400 KiB |
01_random_08.txt | AC | 1 ms | 3688 KiB |
01_random_09.txt | AC | 1 ms | 3688 KiB |
01_random_10.txt | AC | 1 ms | 3524 KiB |
01_random_11.txt | AC | 1 ms | 3404 KiB |
01_random_12.txt | AC | 1 ms | 3464 KiB |