Submission #3630

# Submission time Handle Problem Language Result Execution time Memory
3630 2013-08-31T07:07:32 Z jays Great Pow! (kriii1_G) C++
0 / 1
0 ms 1088 KB
#include <cstdio>

typedef long long ll;

int main() {
	ll a, k;
	scanf("%lld%lld", &a, &k);
	ll ans = (a * a) % (a + 1);
	printf("%lld\n", ans);
	return 0;
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 1088 KB Output isn't correct
2 Halted 0 ms 0 KB -