Problem:
Score : 300 points

Problem Statement

Does \sqrt{a} + \sqrt{b} < \sqrt{c} hold?

Constraints

1 \leq a, b, c \leq 10^9

All values in input are integers.

Input

Input is given from Standard Input in the following format:

a \ b \ c

Output

If \sqrt{a} + \sqrt{b} < \sqrt{c}, print Yes; otherwise, print No.

Sample Input 1

2 3 9

Sample Output 1

No

\sqrt{2} + \sqrt{3} < \sqrt{9} does not hold.

Sample Input 2

2 3 10

Sample Output 2

Yes

\sqrt{2} + \sqrt{3} < \sqrt{10} holds.

Solution in C (GCC 5.4.1) (judge verdict: Wrong Answer)

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>

int main(){
    char token[1000]={};
    unsigned long long a=0,b=0,c=0;
    unsigned long long left=0,right=0;
    while(fgets(token, sizeof(token), stdin)!=NULL){
        a=atoi(strtok(token, " "));b=atoi(strtok(NULL, " "));c=atoi(strtok(NULL, " "));
        right=c-a-b;right*=right;
        left=4*a*b;
        if(right>left) printf("Yes");
        else printf("No");
    }
    return 0;
}