文章
21
粉丝
76
获赞
1
访问
14.8k
#include"stdio.h"
int main(void){
int count = 0;
int a[2000] = {0};
int b[2000] = {0};
int c[2000] = {0};
scanf("%d",&count);
for(int j = 0;j<count;j++){
scanf("%d",&a[j]);
scanf("%d",&b[j]);
scanf("%d",&c[j]);
}
for(int i = 0;i<count;i++){
if(a[i]+b[i]>c[i] && a[i]+c[i]>b[i] && b[i]+c[i]>a[i]){
if(a[i]*a[i] > b[i]*b[i]+c[i]*c[i] || b[i]*b[i] > a[i]*a[i]+c[i]*c[i] || c[i]*c[i] > b[i]*b[i]+a[i]*a[i]){
&...
登录后发布评论
暂无评论,来抢沙发