Submission #6519130
Source Code Expand
#include<iostream>
#include<ctype.h>
using namespace std;
int main()
{
// 整数の入力
// int a;
// cin >> a;
// スペース区切りの整数の入力
int b,c;
cin >> b >> c;
// 文字列の入力
string s;
cin >> s;
// 出力
s[c-1] = tolower(s[c-1]);
cout << s << endl;
return 0;
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - Changing a Character |
| User | rk018 |
| Language | C++14 (GCC 5.4.1) |
| Score | 100 |
| Code Size | 358 Byte |
| Status | AC |
| Exec Time | 1 ms |
| Memory | 256 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | 01.txt, 02.txt |
| All | 01.txt, 02.txt, 11.txt, 12.txt, 13.txt, 14.txt, 15.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 01.txt | AC | 1 ms | 256 KiB |
| 02.txt | AC | 1 ms | 256 KiB |
| 11.txt | AC | 1 ms | 256 KiB |
| 12.txt | AC | 1 ms | 256 KiB |
| 13.txt | AC | 1 ms | 256 KiB |
| 14.txt | AC | 1 ms | 256 KiB |
| 15.txt | AC | 1 ms | 256 KiB |