Submission #2478

# Submission time Handle Problem Language Result Execution time Memory
2478 2013-07-22T11:30:04 Z huhubum 개미 (GA4_ant) C++
0 / 100
235 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 + i) * (k + i) + j * j;
        printf("%lld",sum1);
    }

    return 0;
}
# Verdict Execution time Memory Grader output
1 Incorrect 235 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 204 ms 884 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 223 ms 884 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 187 ms 884 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 11 ms 884 KB Output isn't correct
2 Halted 0 ms 0 KB -