Submission #74023467
Source Code Expand
#include <iostream>
#include <vector>
#include <string>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define srep(i, s, n) for (int i = (s); i < (int)(n); i++)
using namespace std;
int main(void){
char vowel[5]={'a','e','i','o', 'u'};
string s;
cin >> s;
rep (i, s.size()) {
int t = 0;
rep (j, 5) {
if (s[i] == vowel[j]) {
t = 1;
break;
}
}
if (t == 0) {
cout << s[i];
}
}
cout << endl;
return (0);
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - tcdr |
| User | bouninngenn |
| Language | C++23 (GCC 15.2.0) |
| Score | 100 |
| Code Size | 570 Byte |
| Status | AC |
| Exec Time | 1 ms |
| Memory | 3596 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | sample00.txt, sample01.txt, sample02.txt |
| All | sample00.txt, sample01.txt, sample02.txt, testcase00.txt, testcase01.txt, testcase02.txt, testcase03.txt, testcase04.txt, testcase05.txt, testcase06.txt, testcase07.txt, testcase08.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| sample00.txt | AC | 1 ms | 3424 KiB |
| sample01.txt | AC | 1 ms | 3540 KiB |
| sample02.txt | AC | 1 ms | 3472 KiB |
| testcase00.txt | AC | 1 ms | 3420 KiB |
| testcase01.txt | AC | 1 ms | 3596 KiB |
| testcase02.txt | AC | 1 ms | 3420 KiB |
| testcase03.txt | AC | 1 ms | 3472 KiB |
| testcase04.txt | AC | 1 ms | 3572 KiB |
| testcase05.txt | AC | 1 ms | 3596 KiB |
| testcase06.txt | AC | 1 ms | 3524 KiB |
| testcase07.txt | AC | 1 ms | 3488 KiB |
| testcase08.txt | AC | 1 ms | 3596 KiB |