Submission #2282

#TimeUsernameProblemLanguageResultExecution timeMemory
2282heohyun1개미 (GA4_ant)C++98
0 / 100
54 ms2476 KiB
#include <iostream> #include <stdio.h> using namespace std; int main() { int i,n,k=0; int a[100000],b[100000],c[100000]; scanf("%d",&n); for(i=0; i<n; i++){ scanf("%d %d %d",&a[i],&b[i],&c[i]); } for(i=0; i<n; i++){ k=0; k = (a[i]+b[i]+c[i])*(a[i]+b[i]+c[i]) / 2; printf("%d\n",k); } return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...