Submission #602852
Source Code Expand
import java.io.*; public class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); char[] r = {'a' , 'i' , 'u' , 'e' , 'o'}; String str = br.readLine(); for(int i = 0;i < str.length();i++){ for(int j = 0;j < 5;j++){ if(str.charAt(i) == r[j]){ str = str.substring(0,i) + str.substring(i+1,str.length()); i--; break; } } } System.out.println(str); } }
Submission Info
Submission Time | |
---|---|
Task | B - 罠 |
User | who |
Language | Java (OpenJDK 1.7.0) |
Score | 100 |
Code Size | 497 Byte |
Status | AC |
Exec Time | 347 ms |
Memory | 20676 KB |
Judge Result
Set Name | all | ||
---|---|---|---|
Score / Max Score | 100 / 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 | AC | 309 ms | 20548 KB |
00_sample_02.txt | AC | 309 ms | 20568 KB |
00_sample_03.txt | AC | 309 ms | 20568 KB |
00_sample_04.txt | AC | 319 ms | 20576 KB |
test_aaaaaaaaaaaaaaaaaaaaaaaaaapaaa.txt | AC | 315 ms | 20580 KB |
test_abcdefghijklmnopqrstuvwxyz.txt | AC | 312 ms | 20528 KB |
test_aeuuoeuuooaoikuaouoo.txt | AC | 310 ms | 20580 KB |
test_aieeuoaoaeioeierrtwmmdkjylcbbj.txt | AC | 311 ms | 20536 KB |
test_aioeunu.txt | AC | 310 ms | 20528 KB |
test_aqahahuqugironiyog.txt | AC | 310 ms | 20508 KB |
test_ay.txt | AC | 307 ms | 20580 KB |
test_c.txt | AC | 303 ms | 20524 KB |
test_cizuci.txt | AC | 309 ms | 20632 KB |
test_clrhrnbnxmhvvrykgpvsjpylvns.txt | AC | 323 ms | 20536 KB |
test_clwxebedrzlfbey.txt | AC | 305 ms | 20596 KB |
test_dfiousakzbw.txt | AC | 308 ms | 20584 KB |
test_di.txt | AC | 323 ms | 20676 KB |
test_eeeeeleeeeeeeeeeeeeeeeeeeeeeee.txt | AC | 308 ms | 20632 KB |
test_eugfblf.txt | AC | 308 ms | 20508 KB |
test_faumfxzsfpgz.txt | AC | 303 ms | 20592 KB |
test_glpfsryzkcgbkmytzz.txt | AC | 307 ms | 20512 KB |
test_hzkx.txt | AC | 303 ms | 20524 KB |
test_iiiiiiiiiiiiiiiiiiiitiiiiiiiii.txt | AC | 306 ms | 20588 KB |
test_iyenewigoronadomeni.txt | AC | 303 ms | 20544 KB |
test_joda.txt | AC | 347 ms | 20532 KB |
test_k.txt | AC | 304 ms | 20564 KB |
test_kjjxmvpdpcbthjhqqqnsvmvxbtz.txt | AC | 307 ms | 20604 KB |
test_klaimqrlgrxzgsqkenng.txt | AC | 305 ms | 20596 KB |
test_mgjpfrkthffctppiueeeouiioeieoa.txt | AC | 303 ms | 20624 KB |
test_mhfrnzpxkmxjzvmqhwxg.txt | AC | 314 ms | 20568 KB |
test_mm.txt | AC | 305 ms | 20516 KB |
test_mvgvrpyghdszgfvznv.txt | AC | 323 ms | 20592 KB |
test_nu.txt | AC | 302 ms | 20504 KB |
test_oaiiioieoeiieiuooiueaouuuiw.txt | AC | 306 ms | 20592 KB |
test_oaqii.txt | AC | 337 ms | 20640 KB |
test_oit.txt | AC | 339 ms | 20568 KB |
test_omimujomevadimadom.txt | AC | 304 ms | 20584 KB |
test_oooooooooolooooooooooooooooooo.txt | AC | 302 ms | 20608 KB |
test_ooqo.txt | AC | 307 ms | 20588 KB |
test_ouioiaeiuaoaeiieuuiooeeqo.txt | AC | 320 ms | 20488 KB |
test_ow.txt | AC | 306 ms | 20592 KB |
test_pifofawezojisasotuj.txt | AC | 308 ms | 20564 KB |
test_pn.txt | AC | 309 ms | 20588 KB |
test_qgqsghgjczftdmvdtrztjdwhcds.txt | AC | 309 ms | 20612 KB |
test_rxifvbybdsqasoyjdskqwhlstx.txt | AC | 309 ms | 20592 KB |
test_s.txt | AC | 303 ms | 20544 KB |
test_taroakpyzmgkbhtklwfbk.txt | AC | 302 ms | 20584 KB |
test_tkttwgnpjlrkcmwkkcfkjtyb.txt | AC | 306 ms | 20600 KB |
test_uauoyouaaeoaoeooa.txt | AC | 301 ms | 20532 KB |
test_uphtuhurtdkmcidxfjtgqtdujblvht.txt | AC | 301 ms | 20564 KB |
test_uqzghmkf.txt | AC | 299 ms | 20528 KB |
test_usetumukiwukugekidefupalumimec.txt | AC | 312 ms | 20588 KB |
test_uueeuoeuviuiieuioeeauuuieeuiee.txt | AC | 306 ms | 20604 KB |
test_uuueueouaouuiuniaoaaeuaoaa.txt | AC | 300 ms | 20556 KB |
test_uuuuuuuujuuuuuuuuuuuuuuuuuuuuu.txt | AC | 305 ms | 20528 KB |
test_vokicozoyatekebagajiceb.txt | AC | 305 ms | 20520 KB |
test_xlsphqfmqrtrtvmpvbgnkr.txt | AC | 301 ms | 20560 KB |
test_yepelilemapakonarugupabepisoha.txt | AC | 304 ms | 20580 KB |
test_zkkyzwjgzmddvqtvvrcqhsrqlmqmkr.txt | AC | 310 ms | 20536 KB |