From 024b84e8eb8a15412dcfa4b907164814812208cb Mon Sep 17 00:00:00 2001 From: Ritwik Singh <46321538+ritwiksingh21@users.noreply.github.com> Date: Mon, 21 Sep 2020 10:38:31 +0530 Subject: [PATCH] Solution --- Bad Triangle/Soluton_Bad_Triangles | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Bad Triangle/Soluton_Bad_Triangles diff --git a/Bad Triangle/Soluton_Bad_Triangles b/Bad Triangle/Soluton_Bad_Triangles new file mode 100644 index 0000000..aeaeea6 --- /dev/null +++ b/Bad Triangle/Soluton_Bad_Triangles @@ -0,0 +1,24 @@ +#include + +int main() +{ + int t,i,n,count; + scanf("%d", &t); + while(t--){ + count = 0; + scanf("%d", &n); + int arr[n]; + for(i=0;i