Submission #9451

# Submission time Handle Problem Language Result Execution time Memory
9451 2014-09-28T06:33:05 Z jwvg0425 Wiring (kriii2_W) C++
0 / 4
0 ms 1088 KB
#include<stdio.h>

int main(void)
{
	long long int N;

	scanf("%lld", &N);

	printf("%lld", (N - 3 - (N % 2 == 0)) / 2 + 1 + (N % 2 == 0) * 2);
	return 0;
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 1088 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Halted 0 ms 0 KB -