| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 1015 | 沈文佳 | 判断三角形形状 | C++ | Wrong Answer | 33 | 0 MS | 252 KB | 231 | 2019-09-27 20:20:49 |
#include<iostream> int main(){ int a,b,c; scanf("%d %d %d",&a,&b,&c); if(a*a==b*b+c*c&&b*b==a*a+c*c&&c*c==a*a+b*b) printf("2"); else if(a*a>b*b+c*c&&b*b>a*a+c*c&&c*c>a*a+b*b) printf("3"); else printf("1"); return 0; }