AtCoder Beginner Contest 004

Submission #145379

Source codeソースコード

import java.util.Scanner;

/**
 *
 * @author hina
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        Scanner sc = new Scanner(System.in);

        String a = sc.nextLine();
        String b = sc.nextLine();
        String c = sc.nextLine();
        String d = sc.nextLine();

        for (int i = d.length() - 1; i >= 0; i--) {
            System.out.print(d.charAt(i));

        }
        System.out.println();

        for (int i = c.length() - 1; i >= 0; i--) {
            System.out.print(c.charAt(i));

        }
        System.out.println();

        for (int i = b.length() - 1; i >= 0; i--) {
            System.out.print(b.charAt(i));

        }
        System.out.println();

        for (int i = a.length() - 1; i >= 0; i--) {
            System.out.print(a.charAt(i));

        }
        System.out.println();

    }

}

Submission

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

Test case

Set

Set name Score得点 / Max score Cases
All 100 / 100 00_sample_00.txt,00_sample_01.txt,01_all_dot.txt,02_all_o.txt,03_all_x.txt,rand_0.txt,rand_1.txt,rand_10.txt,rand_11.txt,rand_12.txt,rand_13.txt,rand_14.txt,rand_15.txt,rand_16.txt,rand_17.txt,rand_18.txt,rand_19.txt,rand_2.txt,rand_20.txt,rand_21.txt,rand_22.txt,rand_23.txt,rand_24.txt,rand_3.txt,rand_4.txt,rand_5.txt,rand_6.txt,rand_7.txt,rand_8.txt,rand_9.txt

Test case

Case name Status状態 Exec time実行時間 Memory usageメモリ使用量
00_sample_00.txt AC 553 ms 23112 KB
00_sample_01.txt AC 451 ms 23128 KB
01_all_dot.txt AC 449 ms 23132 KB
02_all_o.txt AC 433 ms 23168 KB
03_all_x.txt AC 438 ms 23136 KB
rand_0.txt AC 436 ms 23140 KB
rand_1.txt AC 437 ms 23132 KB
rand_10.txt AC 437 ms 23268 KB
rand_11.txt AC 433 ms 23136 KB
rand_12.txt AC 457 ms 23136 KB
rand_13.txt AC 438 ms 23012 KB
rand_14.txt AC 433 ms 23264 KB
rand_15.txt AC 441 ms 23136 KB
rand_16.txt AC 445 ms 23136 KB
rand_17.txt AC 443 ms 23140 KB
rand_18.txt AC 435 ms 23136 KB
rand_19.txt AC 444 ms 23008 KB
rand_2.txt AC 451 ms 23136 KB
rand_20.txt AC 466 ms 23168 KB
rand_21.txt AC 456 ms 23136 KB
rand_22.txt AC 468 ms 23132 KB
rand_23.txt AC 447 ms 23132 KB
rand_24.txt AC 454 ms 23124 KB
rand_3.txt AC 451 ms 23132 KB
rand_4.txt AC 452 ms 23140 KB
rand_5.txt AC 451 ms 23144 KB
rand_6.txt AC 447 ms 23136 KB
rand_7.txt AC 437 ms 23008 KB
rand_8.txt AC 447 ms 23264 KB
rand_9.txt AC 446 ms 23132 KB