Submission #2477

# Submission time Handle Problem Language Result Execution time Memory
2477 2013-07-22T11:29:10 Z huhubum 개미 (GA4_ant) C++
0 / 100
274 ms 884 KB
#include <stdio.h>
using namespace std;

int main()
{
    int i, j, k, n;
    long long int sum1;

    scanf("%d",&n);
    for(i=1;i<=n;i++)
    {
        scanf("%d %d %d",&i,  &j, &k);
        sum1 = (k + j) * (k + j) + i * i;
        printf("%lld",sum1);
    }

    return 0;
}
# Verdict Execution time Memory Grader output
1 Incorrect 219 ms 884 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 194 ms 884 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 197 ms 884 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 274 ms 884 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 219 ms 884 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 13 ms 884 KB Output isn't correct
2 Halted 0 ms 0 KB -