Submission #15275

# Submission time Handle Problem Language Result Execution time Memory
15275 2015-07-12T05:13:11 Z jeapi 접미사 배열의 개수 (kriii3_W) C++
0 / 46
0 ms 1084 KB
#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main(){
	int a, b;
	scanf("%d", &a);
	scanf("%d", &b);
	int T = 1;
	for (int i = 0; i<b; i++){
		T = T*a;
	}
	printf("%d", T - a);


	return 0;
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 1084 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Halted 0 ms 0 KB -