Convert all test programs from CPP to C
[gruntmaster-daemon.git] / t / problems / square / ver.c
1 #include <stdio.h>
2
3 int main(void){
4 FILE *output = fdopen(3, "r");
5 int x, ret;
6 scanf("%d", &x);
7 fscanf(output, "%d", &ret);
8 if(x*x == ret){
9 printf("10");
10 return 0;
11 } else
12 return 1;
13 }
14
This page took 0.037015 seconds and 4 git commands to generate.