Submission #1415726
Source Code Expand
#include <iostream> #include <string> #include <vector> #include <algorithm> #define loop(n) for(int i = 0; i < n; i++) #define FOR(x,y,z) for(int x = y; x < z; x++) #define INF 999999999; #define VEC vector<int> #define in push_back #define answer(x) cout<<x<<endl using namespace std; int main() { string drinks; cin >> drinks; int n = drinks.size(); FOR(i, 0, n-1) { if (drinks[i] == 'a' || drinks[i] == 'i' || drinks[i] == 'u' || drinks[i] == 'e' || drinks[i] == 'o') drinks.erase(drinks[i]); } answer(drinks); return 0; }
Submission Info
Submission Time | |
---|---|
Task | B - 罠 |
User | keitou |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 560 Byte |
Status | RE |
Exec Time | 103 ms |
Memory | 256 KB |
Judge Result
Set Name | all | ||||||
---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 100 | ||||||
Status |
|
Set Name | Test Cases |
---|---|
all | 00_sample_01.txt, 00_sample_02.txt, 00_sample_03.txt, 00_sample_04.txt, test_aaaaaaaaaaaaaaaaaaaaaaaaaapaaa.txt, test_abcdefghijklmnopqrstuvwxyz.txt, test_aeuuoeuuooaoikuaouoo.txt, test_aieeuoaoaeioeierrtwmmdkjylcbbj.txt, test_aioeunu.txt, test_aqahahuqugironiyog.txt, test_ay.txt, test_c.txt, test_cizuci.txt, test_clrhrnbnxmhvvrykgpvsjpylvns.txt, test_clwxebedrzlfbey.txt, test_dfiousakzbw.txt, test_di.txt, test_eeeeeleeeeeeeeeeeeeeeeeeeeeeee.txt, test_eugfblf.txt, test_faumfxzsfpgz.txt, test_glpfsryzkcgbkmytzz.txt, test_hzkx.txt, test_iiiiiiiiiiiiiiiiiiiitiiiiiiiii.txt, test_iyenewigoronadomeni.txt, test_joda.txt, test_k.txt, test_kjjxmvpdpcbthjhqqqnsvmvxbtz.txt, test_klaimqrlgrxzgsqkenng.txt, test_mgjpfrkthffctppiueeeouiioeieoa.txt, test_mhfrnzpxkmxjzvmqhwxg.txt, test_mm.txt, test_mvgvrpyghdszgfvznv.txt, test_nu.txt, test_oaiiioieoeiieiuooiueaouuuiw.txt, test_oaqii.txt, test_oit.txt, test_omimujomevadimadom.txt, test_oooooooooolooooooooooooooooooo.txt, test_ooqo.txt, test_ouioiaeiuaoaeiieuuiooeeqo.txt, test_ow.txt, test_pifofawezojisasotuj.txt, test_pn.txt, test_qgqsghgjczftdmvdtrztjdwhcds.txt, test_rxifvbybdsqasoyjdskqwhlstx.txt, test_s.txt, test_taroakpyzmgkbhtklwfbk.txt, test_tkttwgnpjlrkcmwkkcfkjtyb.txt, test_uauoyouaaeoaoeooa.txt, test_uphtuhurtdkmcidxfjtgqtdujblvht.txt, test_uqzghmkf.txt, test_usetumukiwukugekidefupalumimec.txt, test_uueeuoeuviuiieuioeeauuuieeuiee.txt, test_uuueueouaouuiuniaoaaeuaoaa.txt, test_uuuuuuuujuuuuuuuuuuuuuuuuuuuuu.txt, test_vokicozoyatekebagajiceb.txt, test_xlsphqfmqrtrtvmpvbgnkr.txt, test_yepelilemapakonarugupabepisoha.txt, test_zkkyzwjgzmddvqtvvrcqhsrqlmqmkr.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00_sample_01.txt | RE | 96 ms | 256 KB |
00_sample_02.txt | RE | 97 ms | 256 KB |
00_sample_03.txt | RE | 96 ms | 256 KB |
00_sample_04.txt | RE | 96 ms | 256 KB |
test_aaaaaaaaaaaaaaaaaaaaaaaaaapaaa.txt | RE | 96 ms | 256 KB |
test_abcdefghijklmnopqrstuvwxyz.txt | RE | 97 ms | 256 KB |
test_aeuuoeuuooaoikuaouoo.txt | RE | 96 ms | 256 KB |
test_aieeuoaoaeioeierrtwmmdkjylcbbj.txt | RE | 96 ms | 256 KB |
test_aioeunu.txt | RE | 96 ms | 256 KB |
test_aqahahuqugironiyog.txt | RE | 97 ms | 256 KB |
test_ay.txt | RE | 98 ms | 256 KB |
test_c.txt | AC | 1 ms | 256 KB |
test_cizuci.txt | RE | 97 ms | 256 KB |
test_clrhrnbnxmhvvrykgpvsjpylvns.txt | AC | 1 ms | 256 KB |
test_clwxebedrzlfbey.txt | RE | 97 ms | 256 KB |
test_dfiousakzbw.txt | RE | 96 ms | 256 KB |
test_di.txt | WA | 1 ms | 256 KB |
test_eeeeeleeeeeeeeeeeeeeeeeeeeeeee.txt | RE | 97 ms | 256 KB |
test_eugfblf.txt | RE | 96 ms | 256 KB |
test_faumfxzsfpgz.txt | RE | 96 ms | 256 KB |
test_glpfsryzkcgbkmytzz.txt | AC | 1 ms | 256 KB |
test_hzkx.txt | AC | 1 ms | 256 KB |
test_iiiiiiiiiiiiiiiiiiiitiiiiiiiii.txt | RE | 96 ms | 256 KB |
test_iyenewigoronadomeni.txt | RE | 96 ms | 256 KB |
test_joda.txt | RE | 97 ms | 256 KB |
test_k.txt | AC | 1 ms | 256 KB |
test_kjjxmvpdpcbthjhqqqnsvmvxbtz.txt | AC | 1 ms | 256 KB |
test_klaimqrlgrxzgsqkenng.txt | RE | 96 ms | 256 KB |
test_mgjpfrkthffctppiueeeouiioeieoa.txt | RE | 96 ms | 256 KB |
test_mhfrnzpxkmxjzvmqhwxg.txt | AC | 1 ms | 256 KB |
test_mm.txt | AC | 1 ms | 256 KB |
test_mvgvrpyghdszgfvznv.txt | AC | 1 ms | 256 KB |
test_nu.txt | WA | 1 ms | 256 KB |
test_oaiiioieoeiieiuooiueaouuuiw.txt | RE | 96 ms | 256 KB |
test_oaqii.txt | RE | 96 ms | 256 KB |
test_oit.txt | RE | 96 ms | 256 KB |
test_omimujomevadimadom.txt | RE | 96 ms | 256 KB |
test_oooooooooolooooooooooooooooooo.txt | RE | 95 ms | 256 KB |
test_ooqo.txt | RE | 96 ms | 256 KB |
test_ouioiaeiuaoaeiieuuiooeeqo.txt | RE | 97 ms | 256 KB |
test_ow.txt | RE | 96 ms | 256 KB |
test_pifofawezojisasotuj.txt | RE | 103 ms | 256 KB |
test_pn.txt | AC | 1 ms | 256 KB |
test_qgqsghgjczftdmvdtrztjdwhcds.txt | AC | 1 ms | 256 KB |
test_rxifvbybdsqasoyjdskqwhlstx.txt | RE | 95 ms | 256 KB |
test_s.txt | AC | 1 ms | 256 KB |
test_taroakpyzmgkbhtklwfbk.txt | RE | 96 ms | 256 KB |
test_tkttwgnpjlrkcmwkkcfkjtyb.txt | AC | 1 ms | 256 KB |
test_uauoyouaaeoaoeooa.txt | RE | 96 ms | 256 KB |
test_uphtuhurtdkmcidxfjtgqtdujblvht.txt | RE | 96 ms | 256 KB |
test_uqzghmkf.txt | RE | 96 ms | 256 KB |
test_usetumukiwukugekidefupalumimec.txt | RE | 96 ms | 256 KB |
test_uueeuoeuviuiieuioeeauuuieeuiee.txt | RE | 96 ms | 256 KB |
test_uuueueouaouuiuniaoaaeuaoaa.txt | RE | 96 ms | 256 KB |
test_uuuuuuuujuuuuuuuuuuuuuuuuuuuuu.txt | RE | 96 ms | 256 KB |
test_vokicozoyatekebagajiceb.txt | RE | 96 ms | 256 KB |
test_xlsphqfmqrtrtvmpvbgnkr.txt | AC | 1 ms | 256 KB |
test_yepelilemapakonarugupabepisoha.txt | RE | 95 ms | 256 KB |
test_zkkyzwjgzmddvqtvvrcqhsrqlmqmkr.txt | AC | 1 ms | 256 KB |