Submission #64996042
Source Code Expand
#include <bits/stdc++.h>
using namespace std;
#define fs first
#define sd second
#define int long long
const int mod = 1e9 + 7;
int powOf(int l, int r)
{
int c = 0;
while (l > 0 && l % r == 0)
{
l /= r;
c++;
}
return c;
}
int binpow(int n, int x)
{
if (x == 0)
return 1;
int ans = binpow(n, x / 2);
if (x % 2 == 0)
return ans * ans;
else
return ans * ans * n;
}
int32_t main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int t = 1;
// cin >> t;
while (t--)
{
string s;
cin >> s;
int n = s.size();
for (int i = 0; i < n; i++)
{
if (s[i] - 'A' < 26)
cout << s[i];
}
cout << endl;
}
return 0;
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - CBC |
| User | yashr29 |
| Language | C++ 20 (gcc 12.2) |
| Score | 100 |
| Code Size | 843 Byte |
| Status | AC |
| Exec Time | 1 ms |
| Memory | 3512 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_test_00.txt, 01_test_01.txt, 01_test_02.txt, 01_test_03.txt, 01_test_04.txt, 01_test_05.txt, 01_test_06.txt, 01_test_07.txt, 01_test_08.txt, 01_test_09.txt, 01_test_10.txt, 01_test_11.txt, 01_test_12.txt, 01_test_13.txt, 01_test_14.txt, 01_test_15.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 00_sample_00.txt | AC | 1 ms | 3320 KiB |
| 00_sample_01.txt | AC | 1 ms | 3512 KiB |
| 00_sample_02.txt | AC | 1 ms | 3416 KiB |
| 01_test_00.txt | AC | 1 ms | 3432 KiB |
| 01_test_01.txt | AC | 1 ms | 3480 KiB |
| 01_test_02.txt | AC | 1 ms | 3408 KiB |
| 01_test_03.txt | AC | 1 ms | 3428 KiB |
| 01_test_04.txt | AC | 1 ms | 3472 KiB |
| 01_test_05.txt | AC | 1 ms | 3416 KiB |
| 01_test_06.txt | AC | 1 ms | 3388 KiB |
| 01_test_07.txt | AC | 1 ms | 3420 KiB |
| 01_test_08.txt | AC | 1 ms | 3408 KiB |
| 01_test_09.txt | AC | 1 ms | 3468 KiB |
| 01_test_10.txt | AC | 1 ms | 3460 KiB |
| 01_test_11.txt | AC | 1 ms | 3408 KiB |
| 01_test_12.txt | AC | 1 ms | 3432 KiB |
| 01_test_13.txt | AC | 1 ms | 3412 KiB |
| 01_test_14.txt | AC | 1 ms | 3388 KiB |
| 01_test_15.txt | AC | 1 ms | 3456 KiB |