Submission #174008


Source Code Expand

package ABC009;

import java.util.*;
import java.io.*;
import static java.util.Arrays.*;
import static java.util.Collections.*;
import static java.lang.Math.*;

public class Main {

	int INF = 1 << 28;
	//long INF = 1L << 62;
	double EPS = 1e-10;

	void run() {
		Scanner sc = new Scanner(System.in);
		System.out.println((sc.nextInt()+1) / 2);
	}

	void debug(Object... os) {
		System.err.println(Arrays.deepToString(os));
	}

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

Submission Info

Submission Time
Task A - 引越し作業
User nyama
Language Java (OpenJDK 1.7.0)
Score 0
Code Size 524 Byte
Status RE
Exec Time 536 ms
Memory 20756 KB

Judge Result

Set Name All
Score / Max Score 0 / 100
Status
RE × 22
Set Name Test Cases
All large_1000.txt, large_997.txt, large_998.txt, large_999.txt, random_148.txt, random_155.txt, random_198.txt, random_362.txt, random_403.txt, random_667.txt, random_795.txt, random_811.txt, random_85.txt, random_959.txt, small_10.txt, small_11.txt, small_3.txt, small_4.txt, small_6.txt, small_7.txt, small_8.txt, small_9.txt
Case Name Status Exec Time Memory
large_1000.txt RE 536 ms 20756 KB
large_997.txt RE 453 ms 20660 KB
large_998.txt RE 448 ms 20656 KB
large_999.txt RE 455 ms 20660 KB
random_148.txt RE 443 ms 20656 KB
random_155.txt RE 442 ms 20652 KB
random_198.txt RE 435 ms 20532 KB
random_362.txt RE 429 ms 20660 KB
random_403.txt RE 446 ms 20660 KB
random_667.txt RE 431 ms 20528 KB
random_795.txt RE 448 ms 20664 KB
random_811.txt RE 430 ms 20652 KB
random_85.txt RE 435 ms 20620 KB
random_959.txt RE 435 ms 20620 KB
sample_1.txt RE 433 ms 20660 KB
sample_2.txt RE 431 ms 20656 KB
sample_3.txt RE 471 ms 20652 KB
small_10.txt RE 468 ms 20532 KB
small_11.txt RE 461 ms 20660 KB
small_3.txt RE 445 ms 20532 KB
small_4.txt RE 454 ms 20524 KB
small_6.txt RE 431 ms 20656 KB
small_7.txt RE 459 ms 20540 KB
small_8.txt RE 438 ms 20532 KB
small_9.txt RE 434 ms 20660 KB