Submission #73521487
Source Code Expand
// Problem: A - Handmaid
// Contest: AtCoder - AtCoder Beginner Contest 446
// URL: https://atcoder.jp/contests/abc446/tasks/abc446_a
// Memory Limit: 1024 MB
// Time Limit: 2000 ms
//
// Powered by CP Editor (https://cpeditor.org)
//空中散歩の SOS 僕ファー 僕ファー 僕ファー ~
#include<bits/stdc++.h>
using namespace std;
// --- Types ---
using ll = long long;
using db = double;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
using vi = vector<int>;
using vl = vector<ll>;
// --- Macros ---
#define fi first
#define se second
#define endl '\n'
#define pb push_back
#define eb emplace_back
#define mp make_pair
#define sz(x) ((int)(x).size())
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
#define unq(v) (v).erase(unique(all(v)), (v).end())
// --- Loops ---
#define rep(i, a, b) for(int i = (a); i <= (b); ++i)
#define per(i, a, b) for(int i = (a); i >= (b); --i)
#define fore(x, a) for(auto& x : a)
// --- Utils ---
template<class T> bool chmin(T& a, const T& b) { return b < a ? a = b, 1 : 0; }
template<class T> bool chmax(T& a, const T& b) { return a < b ? a = b, 1 : 0; }
void solve(){
string s;
cin>>s;
s[0]=s[0]-'A'+'a';
cout<<"Of"<<s<<endl;
return ;
}
ll T=1;
signed main(){
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
// cin>>T;
for(ll kase=1;kase<=T;kase++){
solve();
}
return 0;
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - Handmaid |
| User | XING_ginkiha |
| Language | C++ IOI-Style(GNU++20) (GCC 14.2.0) |
| Score | 100 |
| Code Size | 1440 Byte |
| Status | AC |
| Exec Time | 0 ms |
| Memory | 1704 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | 00-sample-01.txt, 00-sample-02.txt, 00-sample-03.txt |
| All | 00-sample-01.txt, 00-sample-02.txt, 00-sample-03.txt, 01-01.txt, 01-02.txt, 01-03.txt, 01-04.txt, 01-05.txt, 01-06.txt, 01-07.txt, 01-08.txt, 01-09.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 00-sample-01.txt | AC | 0 ms | 1704 KiB |
| 00-sample-02.txt | AC | 0 ms | 1704 KiB |
| 00-sample-03.txt | AC | 0 ms | 1704 KiB |
| 01-01.txt | AC | 0 ms | 1704 KiB |
| 01-02.txt | AC | 0 ms | 1704 KiB |
| 01-03.txt | AC | 0 ms | 1704 KiB |
| 01-04.txt | AC | 0 ms | 1704 KiB |
| 01-05.txt | AC | 0 ms | 1704 KiB |
| 01-06.txt | AC | 0 ms | 1704 KiB |
| 01-07.txt | AC | 0 ms | 1704 KiB |
| 01-08.txt | AC | 0 ms | 1704 KiB |
| 01-09.txt | AC | 0 ms | 1704 KiB |