Submission #2407297


Source Code Expand

import java.util.Scanner;
import java.util.Collections;
import java.util.Arrays;

public class Main {
    static final Scanner sc = new Scanner(System.in);

    public static void main(String[] args) {
        String S = sc.next();
        System.out.println(S + "pp");
    }

    static void sort(int[] a, int b) {//arrays.sort 0で降順, それ以外で昇順
        if (b == 0) {
            Arrays.sort(a);
            int t = 0;
            int c = a.length - 1;
            for (int i = c; i >= c / 2 + 1; i--) {

                t = a[i];
                a[i] = a[c - i];
                a[c - i] = t;
            }
        } else {
            Arrays.sort(a);
        }
    }

    static int SI(String a) {
        return Integer.parseInt(a);
    }

    static char SC(String a) {
        return a.charAt(0);
    }

    static double SD(String a) {
        return new Double(a).doubleValue();
    }

    static String CS(char a) {
        return String.valueOf(a);
    }

    static int DI(double a) {
        return new Double(a).intValue();
    }

    static String DS(double a) {
        return Double.toString(a);
    }

    static int LI(long a) {
        return new Long(a).intValue();
    }

    static char LC(long a) {
        return Long.toString(a).charAt(0);
    }

    static double LD(long a) {
        return new Long(a).doubleValue();
    }

    static long IL(int a) {
        return new Integer(a).longValue();
    }

    static double ID(int a) {
        return new Integer(a).doubleValue();
    }

    static char IC(int a) {
        return Integer.toString(a).charAt(0);
    }

    static String IS(int a) {
        return Integer.toString(a);
    }

}

Submission Info

Submission Time
Task A - ハンドルネーム
User spin13
Language Java8 (OpenJDK 1.8.0)
Score 100
Code Size 1763 Byte
Status AC
Exec Time 90 ms
Memory 21716 KB

Judge Result

Set Name All
Score / Max Score 100 / 100
Status
AC × 7
Set Name Test Cases
All sample_01.txt, sample_02.txt, test_aaaaaaaaaa.txt, test_myonmyon.txt, test_nemui.txt, test_onakasuita.txt, test_p.txt
Case Name Status Exec Time Memory
sample_01.txt AC 89 ms 16852 KB
sample_02.txt AC 89 ms 19412 KB
test_aaaaaaaaaa.txt AC 89 ms 19796 KB
test_myonmyon.txt AC 88 ms 18900 KB
test_nemui.txt AC 90 ms 19796 KB
test_onakasuita.txt AC 89 ms 19284 KB
test_p.txt AC 88 ms 21716 KB