Compile Error
foo.c:1:9: fatal error: bits/stdc++.h: No such file or directory 1 | #include<bits/stdc++.h> | ^~~~~~~~~~~~~~~ compilation terminated.
Code
#include<bits/stdc++.h>
using namespace std;
int main()
{
int a; cin>>a;
int b; cin>>b;
int c; cin>>c;
int A=2*a;
int B=2*b;
if(a==b && b==c)
{
cout<<"Equilateral"<<endl;
}
else if(a==b && a!=c)
{
cout<<"Isosceles"<<endl;
}
else if( A==b && B==c )
{
cout<<"Not a triangle"<<endl;
}
else
cout<<"Scaline"<<endl;
}
Information
- Submit By
- Type
- Submission
- Problem
- P1108 Triangle Triangle Triangle!!!
- Contest
- Brain Booster #8
- Language
- C99 (GCC 13.2.0)
- Submit At
- 2025-02-17 15:32:15
- Judged At
- 2025-02-17 15:32:15
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 0 Bytes