Submission #3777864


Source Code Expand

import java.util.Scanner;

class Main{

	static	int[] data;




	public static void main(String[] args) {





		Scanner sc = new Scanner(System.in);			//文字の入力
		String string = sc.next();
		StringBuilder sb = new StringBuilder(string);
		for(int i = 0;i < string.length();i++){
			if(sb.charAt(i) == ','){
				sb.setCharAt(i, ' ');
			}
		}
		string = new String(sb);
		System.out.println(string);



	}



	static void num(int n){


		int num = n;
		for(int i = 1;i <= n;i++){
			if(n % i == 0){
				data[i]++;
				n /= i;
				i = 1;
			}
		}
		return;

	}
}


class Pair implements Comparable{
	Character from;
	int end;
	@Override
	public int compareTo(Object other) {
		Pair otherpair = (Pair)other;

		return end - otherpair.end;
	}
}


Submission Info

Submission Time
Task A - Haiku
User oyr
Language Java8 (OpenJDK 1.8.0)
Score 100
Code Size 814 Byte
Status AC
Exec Time 95 ms
Memory 23124 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 10
Set Name Test Cases
Sample sample_01.txt, sample_02.txt, sample_03.txt
All sample_01.txt, sample_02.txt, sample_03.txt, subtask_1_01.txt, subtask_1_02.txt, subtask_1_03.txt, subtask_1_04.txt, subtask_1_05.txt, subtask_1_06.txt, subtask_1_07.txt
Case Name Status Exec Time Memory
sample_01.txt AC 93 ms 21844 KB
sample_02.txt AC 93 ms 20564 KB
sample_03.txt AC 94 ms 19156 KB
subtask_1_01.txt AC 94 ms 21716 KB
subtask_1_02.txt AC 95 ms 21844 KB
subtask_1_03.txt AC 91 ms 22996 KB
subtask_1_04.txt AC 93 ms 22996 KB
subtask_1_05.txt AC 95 ms 23124 KB
subtask_1_06.txt AC 95 ms 20564 KB
subtask_1_07.txt AC 92 ms 20692 KB