Submission #448649
Source Code Expand
import java.io.*; import java.util.Scanner; import java.util.Arrays; import static java.lang.Math.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String str = sc.next(); String strN = "aiueo"; String ans = new String(""); for(int i = 0; i < str.length(); i++){ boolean flag = true; for(int j = 0; j < strN.length(); j++){ if(str.charAt(i) == strN.charAt(j)){ flag = false; break; } } if(flag) ans += str.charAt(i); } System.out.println(ans); sc.close(); } }
Submission Info
Submission Time | |
---|---|
Task | B - 罠 |
User | takoshi |
Language | Java (OpenJDK 1.7.0) |
Score | 100 |
Code Size | 619 Byte |
Status | AC |
Exec Time | 605 ms |
Memory | 22532 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 | 605 ms | 22316 KB |
00_sample_02.txt | AC | 451 ms | 22412 KB |
00_sample_03.txt | AC | 452 ms | 22396 KB |
00_sample_04.txt | AC | 441 ms | 22456 KB |
test_aaaaaaaaaaaaaaaaaaaaaaaaaapaaa.txt | AC | 441 ms | 22420 KB |
test_abcdefghijklmnopqrstuvwxyz.txt | AC | 446 ms | 22412 KB |
test_aeuuoeuuooaoikuaouoo.txt | AC | 448 ms | 22448 KB |
test_aieeuoaoaeioeierrtwmmdkjylcbbj.txt | AC | 452 ms | 22408 KB |
test_aioeunu.txt | AC | 445 ms | 22464 KB |
test_aqahahuqugironiyog.txt | AC | 443 ms | 22504 KB |
test_ay.txt | AC | 447 ms | 22484 KB |
test_c.txt | AC | 470 ms | 22496 KB |
test_cizuci.txt | AC | 455 ms | 22484 KB |
test_clrhrnbnxmhvvrykgpvsjpylvns.txt | AC | 449 ms | 22516 KB |
test_clwxebedrzlfbey.txt | AC | 466 ms | 22320 KB |
test_dfiousakzbw.txt | AC | 495 ms | 22420 KB |
test_di.txt | AC | 456 ms | 22484 KB |
test_eeeeeleeeeeeeeeeeeeeeeeeeeeeee.txt | AC | 452 ms | 22364 KB |
test_eugfblf.txt | AC | 475 ms | 22436 KB |
test_faumfxzsfpgz.txt | AC | 440 ms | 22356 KB |
test_glpfsryzkcgbkmytzz.txt | AC | 450 ms | 22400 KB |
test_hzkx.txt | AC | 453 ms | 22480 KB |
test_iiiiiiiiiiiiiiiiiiiitiiiiiiiii.txt | AC | 456 ms | 22468 KB |
test_iyenewigoronadomeni.txt | AC | 462 ms | 22416 KB |
test_joda.txt | AC | 477 ms | 22448 KB |
test_k.txt | AC | 493 ms | 22316 KB |
test_kjjxmvpdpcbthjhqqqnsvmvxbtz.txt | AC | 462 ms | 22404 KB |
test_klaimqrlgrxzgsqkenng.txt | AC | 479 ms | 22400 KB |
test_mgjpfrkthffctppiueeeouiioeieoa.txt | AC | 479 ms | 22484 KB |
test_mhfrnzpxkmxjzvmqhwxg.txt | AC | 475 ms | 22444 KB |
test_mm.txt | AC | 442 ms | 22384 KB |
test_mvgvrpyghdszgfvznv.txt | AC | 442 ms | 22408 KB |
test_nu.txt | AC | 441 ms | 22424 KB |
test_oaiiioieoeiieiuooiueaouuuiw.txt | AC | 462 ms | 22424 KB |
test_oaqii.txt | AC | 451 ms | 22356 KB |
test_oit.txt | AC | 428 ms | 22472 KB |
test_omimujomevadimadom.txt | AC | 441 ms | 22440 KB |
test_oooooooooolooooooooooooooooooo.txt | AC | 444 ms | 22508 KB |
test_ooqo.txt | AC | 449 ms | 22348 KB |
test_ouioiaeiuaoaeiieuuiooeeqo.txt | AC | 440 ms | 22444 KB |
test_ow.txt | AC | 439 ms | 22392 KB |
test_pifofawezojisasotuj.txt | AC | 443 ms | 22468 KB |
test_pn.txt | AC | 436 ms | 22324 KB |
test_qgqsghgjczftdmvdtrztjdwhcds.txt | AC | 446 ms | 22480 KB |
test_rxifvbybdsqasoyjdskqwhlstx.txt | AC | 434 ms | 22460 KB |
test_s.txt | AC | 464 ms | 22400 KB |
test_taroakpyzmgkbhtklwfbk.txt | AC | 457 ms | 22436 KB |
test_tkttwgnpjlrkcmwkkcfkjtyb.txt | AC | 506 ms | 22468 KB |
test_uauoyouaaeoaoeooa.txt | AC | 495 ms | 22392 KB |
test_uphtuhurtdkmcidxfjtgqtdujblvht.txt | AC | 472 ms | 22436 KB |
test_uqzghmkf.txt | AC | 454 ms | 22468 KB |
test_usetumukiwukugekidefupalumimec.txt | AC | 448 ms | 22468 KB |
test_uueeuoeuviuiieuioeeauuuieeuiee.txt | AC | 435 ms | 22396 KB |
test_uuueueouaouuiuniaoaaeuaoaa.txt | AC | 437 ms | 22432 KB |
test_uuuuuuuujuuuuuuuuuuuuuuuuuuuuu.txt | AC | 452 ms | 22444 KB |
test_vokicozoyatekebagajiceb.txt | AC | 454 ms | 22408 KB |
test_xlsphqfmqrtrtvmpvbgnkr.txt | AC | 466 ms | 22400 KB |
test_yepelilemapakonarugupabepisoha.txt | AC | 457 ms | 22484 KB |
test_zkkyzwjgzmddvqtvvrcqhsrqlmqmkr.txt | AC | 450 ms | 22532 KB |