AtCoder Beginner Contest 002

Submission #333889

Source codeソースコード

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        new Main().run();
    }

    public void run() {

        Scanner sc = new Scanner(System.in);
        String in = sc.nextLine();

        String[] reps = { "a", "i", "u", "e", "o" };

        for (String rep : reps) {
            in = in.replaceAll(rep, "");
        }
        System.out.println(in);
        sc.close();
    }
}

Submission

Task問題 B - 罠
User nameユーザ名 Nervous
Created time投稿日時
Language言語 Java (OpenJDK 1.7.0)
Status状態 AC
Score得点 100
Source lengthソースコード長 453 Byte
File nameファイル名
Exec time実行時間 364 ms
Memory usageメモリ使用量 22968 KB

Test case

Set

Set name Score得点 / Max score Cases
all 100 / 100 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

Test case

Case name Status状態 Exec time実行時間 Memory usageメモリ使用量
00_sample_01.txt AC 354 ms 22860 KB
00_sample_02.txt AC 342 ms 22832 KB
00_sample_03.txt AC 342 ms 22956 KB
00_sample_04.txt AC 355 ms 22844 KB
test_aaaaaaaaaaaaaaaaaaaaaaaaaapaaa.txt AC 361 ms 22836 KB
test_abcdefghijklmnopqrstuvwxyz.txt AC 364 ms 22968 KB
test_aeuuoeuuooaoikuaouoo.txt AC 347 ms 22812 KB
test_aieeuoaoaeioeierrtwmmdkjylcbbj.txt AC 356 ms 22920 KB
test_aioeunu.txt AC 343 ms 22884 KB
test_aqahahuqugironiyog.txt AC 358 ms 22832 KB
test_ay.txt AC 354 ms 22864 KB
test_c.txt AC 343 ms 22840 KB
test_cizuci.txt AC 340 ms 22912 KB
test_clrhrnbnxmhvvrykgpvsjpylvns.txt AC 342 ms 22816 KB
test_clwxebedrzlfbey.txt AC 345 ms 22852 KB
test_dfiousakzbw.txt AC 338 ms 22928 KB
test_di.txt AC 352 ms 22932 KB
test_eeeeeleeeeeeeeeeeeeeeeeeeeeeee.txt AC 343 ms 22816 KB
test_eugfblf.txt AC 344 ms 22948 KB
test_faumfxzsfpgz.txt AC 344 ms 22824 KB
test_glpfsryzkcgbkmytzz.txt AC 347 ms 22944 KB
test_hzkx.txt AC 345 ms 22864 KB
test_iiiiiiiiiiiiiiiiiiiitiiiiiiiii.txt AC 363 ms 22940 KB
test_iyenewigoronadomeni.txt AC 354 ms 22840 KB
test_joda.txt AC 355 ms 22832 KB
test_k.txt AC 350 ms 22832 KB
test_kjjxmvpdpcbthjhqqqnsvmvxbtz.txt AC 358 ms 22876 KB
test_klaimqrlgrxzgsqkenng.txt AC 356 ms 22840 KB
test_mgjpfrkthffctppiueeeouiioeieoa.txt AC 350 ms 22828 KB
test_mhfrnzpxkmxjzvmqhwxg.txt AC 358 ms 22880 KB
test_mm.txt AC 347 ms 22884 KB
test_mvgvrpyghdszgfvznv.txt AC 348 ms 22808 KB
test_nu.txt AC 351 ms 22852 KB
test_oaiiioieoeiieiuooiueaouuuiw.txt AC 350 ms 22872 KB
test_oaqii.txt AC 348 ms 22864 KB
test_oit.txt AC 348 ms 22856 KB
test_omimujomevadimadom.txt AC 349 ms 22808 KB
test_oooooooooolooooooooooooooooooo.txt AC 351 ms 22844 KB
test_ooqo.txt AC 358 ms 22852 KB
test_ouioiaeiuaoaeiieuuiooeeqo.txt AC 353 ms 22868 KB
test_ow.txt AC 348 ms 22868 KB
test_pifofawezojisasotuj.txt AC 347 ms 22832 KB
test_pn.txt AC 354 ms 22848 KB
test_qgqsghgjczftdmvdtrztjdwhcds.txt AC 348 ms 22936 KB
test_rxifvbybdsqasoyjdskqwhlstx.txt AC 342 ms 22892 KB
test_s.txt AC 345 ms 22828 KB
test_taroakpyzmgkbhtklwfbk.txt AC 344 ms 22920 KB
test_tkttwgnpjlrkcmwkkcfkjtyb.txt AC 343 ms 22876 KB
test_uauoyouaaeoaoeooa.txt AC 345 ms 22880 KB
test_uphtuhurtdkmcidxfjtgqtdujblvht.txt AC 345 ms 22856 KB
test_uqzghmkf.txt AC 341 ms 22840 KB
test_usetumukiwukugekidefupalumimec.txt AC 346 ms 22916 KB
test_uueeuoeuviuiieuioeeauuuieeuiee.txt AC 348 ms 22888 KB
test_uuueueouaouuiuniaoaaeuaoaa.txt AC 343 ms 22944 KB
test_uuuuuuuujuuuuuuuuuuuuuuuuuuuuu.txt AC 342 ms 22872 KB
test_vokicozoyatekebagajiceb.txt AC 340 ms 22848 KB
test_xlsphqfmqrtrtvmpvbgnkr.txt AC 341 ms 22920 KB
test_yepelilemapakonarugupabepisoha.txt AC 343 ms 22836 KB
test_zkkyzwjgzmddvqtvvrcqhsrqlmqmkr.txt AC 340 ms 22832 KB