Follows 113.c (Total 11 lines):

/* @JUDGE_ID:4461XX 113 C */
/* A */
#include<stdio.h>
#include<math.h>
void main( void )
{
	double n , k ;
	while( scanf( "%lf %lf" , &n , &k ) == 2 ){
		printf( "%.0lf\n" , pow( k , (double)1/n ) ) ;
	}
}

Back to statistics
Ya-Lin Huang (C)
huangyl@gmail.com