19925148 wrong answer.

Can anyone let me know what i am doing wrong in this code submission 19925148.

i am sorry i forgot mention the problem code is PCJ18C

and solution is.

import java.util.Scanner;

class Pol{

public static void main(String a[]) {

Scanner sc= new Scanner(System.in);
long iteration=sc.nextInt();
long sides[] = new long[(int) iteration];
long firstAngle[] = new long[(int) iteration];
long findK[] = new long[(int) iteration];

long itr=iteration;
for(int i=0;i<iteration;i++)


Pol p = new Pol();
for(int i=0;i<itr;i++)

void run(long sides,long firstAngle, long findK) {
long total=(sides-2)*180;

long diff= 2*((total-firstAnglesides)/(sides(sides-1)));

long result = firstAngle+((findK-1)*diff);
System.out.println(result+" "+1);