# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|
2478 | | huhubum | 개미 (GA4_ant) | C++98 | | 235 ms | 884 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#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 |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |