Submission #5322

# Submission time Handle Problem Language Result Execution time Memory
5322 2014-03-23T08:48:09 Z baneling100 개미 (GA4_ant) C++
0 / 100
52 ms 1088 KB
#include <stdio.h>

int t, a, b, c;

int main(void)
{
    int i;
  
    scanf("%d",&t);
    for(i=1 ; i<=t ; i++)
    {
        scanf("%d %d %d",&a,&b,&c);
        printf("%lld",((long long)a+(long long)b)*((long long)a+(long long)b)+(long long)c*(long long)c);
    }
    return 0;
}
# Verdict Execution time Memory Grader output
1 Incorrect 36 ms 1088 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 44 ms 1088 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 44 ms 1088 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 52 ms 1088 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 52 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 -