From 0b95c818661f7c28501aa53740154e860c468e5a Mon Sep 17 00:00:00 2001 From: balammaboya Date: Tue, 21 Sep 2021 19:22:03 +0530 Subject: [PATCH] fixed compile issue --- src/lab/exp2/Hints1/Hint_4.html | 2 +- src/lab/exp2/Hints2/Hint_4.html | 2 +- src/lab/exp4/Hints1/Hint_4.html | 2 +- src/lab/exp4/Hints2/Hint_4.html | 2 +- src/lab/exp5/Hints1/Hint_4.html | 2 +- src/lab/exp5/Hints2/Hint_4.html | 2 +- src/lab/exp6/Hints1/Hint_4.html | 2 +- src/lab/exp6/Hints2/Hint_4.html | 2 +- src/lab/exp7/Hints1/Hint_4.html | 2 +- src/lab/exp7/Hints2/Hint_4.html | 2 +- src/lab/exp8/Hints1/Hint_4.html | 2 +- src/lab/exp8/Hints2/Hint_4.html | 2 +- src/lab/exp9/Hints1/Hint_4.html | 2 +- src/lab/exp9/Hints2/Hint_4.html | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/lab/exp2/Hints1/Hint_4.html b/src/lab/exp2/Hints1/Hint_4.html index 8acead469..87395d5a7 100755 --- a/src/lab/exp2/Hints1/Hint_4.html +++ b/src/lab/exp2/Hints1/Hint_4.html @@ -4,7 +4,7 @@ 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-W59SWTR');
#include<stdio.h>
 #include<math.h>
-main(){
+int main(){
 	/*perfect number or not*/
 	
 	long long n;
diff --git a/src/lab/exp2/Hints2/Hint_4.html b/src/lab/exp2/Hints2/Hint_4.html
index 640bcdf9d..bcb5a060d 100755
--- a/src/lab/exp2/Hints2/Hint_4.html
+++ b/src/lab/exp2/Hints2/Hint_4.html
@@ -3,7 +3,7 @@
 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
 })(window,document,'script','dataLayer','GTM-W59SWTR');
#include<stdio.h>
-main(){
+int main(){
 	int a,b;
 	scanf("%d%d",&a,&b);
 	/* the positive Rational number
diff --git a/src/lab/exp4/Hints1/Hint_4.html b/src/lab/exp4/Hints1/Hint_4.html
index 767d75062..2617bca92 100755
--- a/src/lab/exp4/Hints1/Hint_4.html
+++ b/src/lab/exp4/Hints1/Hint_4.html
@@ -4,7 +4,7 @@
 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
 })(window,document,'script','dataLayer','GTM-W59SWTR');
#include <stdio.h>
 #include <math.h>
-main(){
+int main(){
 int N,i;
 double result = 0;
 scanf("%d",&N);
diff --git a/src/lab/exp4/Hints2/Hint_4.html b/src/lab/exp4/Hints2/Hint_4.html
index a2c3724fa..a6cf86b60 100755
--- a/src/lab/exp4/Hints2/Hint_4.html
+++ b/src/lab/exp4/Hints2/Hint_4.html
@@ -3,7 +3,7 @@
 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
 })(window,document,'script','dataLayer','GTM-W59SWTR');
#include<stdio.h>
-main(){
+int main(){
 	 int N;
 
 	 scanf("%d",&N);
diff --git a/src/lab/exp5/Hints1/Hint_4.html b/src/lab/exp5/Hints1/Hint_4.html
index d7c48cca5..70278c4a1 100755
--- a/src/lab/exp5/Hints1/Hint_4.html
+++ b/src/lab/exp5/Hints1/Hint_4.html
@@ -8,7 +8,7 @@
 int isAlphabet(char x){
 	return (x>='a' && x<='z')||(x>='A' && x<='Z');
 }
-main(){
+int main(){
 char s[1001];
 scanf("%[^\n]s",s);
 int i=0,j=strlen(s)-1;
diff --git a/src/lab/exp5/Hints2/Hint_4.html b/src/lab/exp5/Hints2/Hint_4.html
index 84e4d6121..7aa6dd0c9 100755
--- a/src/lab/exp5/Hints2/Hint_4.html
+++ b/src/lab/exp5/Hints2/Hint_4.html
@@ -3,7 +3,7 @@
 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
 })(window,document,'script','dataLayer','GTM-W59SWTR');
#include<stdio.h>
-main(){
+int main(){
 char str1[2000];
 char str2[2000];
 scanf("%s %s",str1,str2);
diff --git a/src/lab/exp6/Hints1/Hint_4.html b/src/lab/exp6/Hints1/Hint_4.html
index 0d2041d67..5feeda687 100755
--- a/src/lab/exp6/Hints1/Hint_4.html
+++ b/src/lab/exp6/Hints1/Hint_4.html
@@ -18,7 +18,7 @@
 	return ans;
 	
 }
-main(){
+int main(){
 	int W;
 	scanf("%d%d",&N,&W);
 
diff --git a/src/lab/exp6/Hints2/Hint_4.html b/src/lab/exp6/Hints2/Hint_4.html
index 8d6a9955f..d16bd5714 100755
--- a/src/lab/exp6/Hints2/Hint_4.html
+++ b/src/lab/exp6/Hints2/Hint_4.html
@@ -10,7 +10,7 @@
   	return isPossible(N-1,D+weight[N-1],weight)||isPossible(N-1,D-weight[N-1],weight)||isPossible(N-1,D,weight);
 }
 
-main(){
+int main(){
 	int N;
 	scanf("%d",&N);
 	int weights[N],i,D;
diff --git a/src/lab/exp7/Hints1/Hint_4.html b/src/lab/exp7/Hints1/Hint_4.html
index 808bacf74..22f0fd602 100755
--- a/src/lab/exp7/Hints1/Hint_4.html
+++ b/src/lab/exp7/Hints1/Hint_4.html
@@ -4,7 +4,7 @@
 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
 })(window,document,'script','dataLayer','GTM-W59SWTR');
#include<stdio.h>
 #include<string.h>
-main(){
+int main(){
 	char s1[51],s2[51];
 	scanf("%s %s",s1,s2);
 	char sum[52];
diff --git a/src/lab/exp7/Hints2/Hint_4.html b/src/lab/exp7/Hints2/Hint_4.html
index d427d49c0..cca923480 100755
--- a/src/lab/exp7/Hints2/Hint_4.html
+++ b/src/lab/exp7/Hints2/Hint_4.html
@@ -21,7 +21,7 @@
 	}
 
 }
-main(){
+int main(){
 	scanf("%d",&N);
 	printf("%.4lf\n",mysqrt(1,N));
 return 0;
diff --git a/src/lab/exp8/Hints1/Hint_4.html b/src/lab/exp8/Hints1/Hint_4.html
index ad5a0bc52..f4db8940b 100755
--- a/src/lab/exp8/Hints1/Hint_4.html
+++ b/src/lab/exp8/Hints1/Hint_4.html
@@ -16,7 +16,7 @@
 	else
 		return search(a,mid+1,end,num);
 }
-main(){
+int main(){
 	int N;
 	scanf("%d",&N);
 	int arr[N];
diff --git a/src/lab/exp8/Hints2/Hint_4.html b/src/lab/exp8/Hints2/Hint_4.html
index 216e8f4d4..40bc4cf7b 100755
--- a/src/lab/exp8/Hints2/Hint_4.html
+++ b/src/lab/exp8/Hints2/Hint_4.html
@@ -5,7 +5,7 @@
 })(window,document,'script','dataLayer','GTM-W59SWTR');
#include<stdio.h>
 #include<string.h>
 
-main(){
+int main(){
 	int N;
 	char str[1000001];
 	scanf("%s",str);
diff --git a/src/lab/exp9/Hints1/Hint_4.html b/src/lab/exp9/Hints1/Hint_4.html
index 3a948543a..42a7210d4 100755
--- a/src/lab/exp9/Hints1/Hint_4.html
+++ b/src/lab/exp9/Hints1/Hint_4.html
@@ -14,7 +14,7 @@
            */
 	return func(N-1,weight,S-weight[N-1])+func(N-1,weight,S); 
 }
-main(){
+int main(){
 	int N;
 	scanf("%d",&N);
 	int weight[N],i;
diff --git a/src/lab/exp9/Hints2/Hint_4.html b/src/lab/exp9/Hints2/Hint_4.html
index 9594703b3..deeee3502 100755
--- a/src/lab/exp9/Hints2/Hint_4.html
+++ b/src/lab/exp9/Hints2/Hint_4.html
@@ -17,7 +17,7 @@
 return a+b;
 
 }
-main(){
+int main(){
 int i;
 scanf("%d",&N);
 int weights[N];