| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 8520 | eric4266 | 개미 (GA4_ant) | C++98 | 56 ms | 1088 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <stdio.h>
unsigned long long i,t,x,y,z;unsigned long long ant(unsigned long long x,unsigned long long y,unsigned long long z){scanf("%llu%llu%llu",&x,&y,&z);if(x<=z&&y<=z)return(x+y)*(x+y)+z*z;else if(x<=y&&z<=y)return(x+z)*(x+z)+y*y;else return(y+z)*(y+z)+x*x;}int main(){scanf("%llu",&t);for(i=1;i<=t;i++){printf("%llu\n",ant(x,y,z));}}| # | 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... | ||||
