Submission #7666

# Submission time Handle Problem Language Result Execution time Memory
7666 2014-08-13T14:44:05 Z moonrabbit2 개미 (GA4_ant) C++
22 / 100
48 ms 1088 KB
#include <cstdio>
int main()
{
    int t;
    scanf("%d",&t);
    while(t--){
        int a,b,c;
        scanf("%d %d %d",&a,&b,&c);
        printf("%d\n",c*c+(a+b)*(a+b));
    }
    return 0;
}
# Verdict Execution time Memory Grader output
1 Correct 36 ms 1088 KB Output is correct
# Verdict Execution time Memory Grader output
1 Incorrect 40 ms 1088 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Correct 44 ms 1088 KB Output is correct
# Verdict Execution time Memory Grader output
1 Incorrect 48 ms 1088 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 48 ms 1088 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 44 ms 1088 KB Output isn't correct
2 Halted 0 ms 0 KB -