Skip to content

Commit

Permalink
fixed compile issue
Browse files Browse the repository at this point in the history
  • Loading branch information
balamma committed Sep 21, 2021
1 parent a2f9a96 commit 0b95c81
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/lab/exp2/Hints1/Hint_4.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-W59SWTR');</script><!--End Google Tag Manager--></head><body><!--Google Tag Manager (noscript)--><noscript class="gtm"><iframe height="0" src="https://www.googletagmanager.com/ns.html?id=GTM-W59SWTR" style="display:none;visibility:hidden" width="0"></iframe></noscript><!--End Google Tag Manager (noscript)--><pre>#include&lt;stdio.h&gt;
#include&lt;math.h&gt;
main(){
int main(){
/*perfect number or not*/

long long n;
Expand Down
2 changes: 1 addition & 1 deletion src/lab/exp2/Hints2/Hint_4.html
Original file line number Diff line number Diff line change
Expand Up @@ -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');</script><!--End Google Tag Manager--></head><body><!--Google Tag Manager (noscript)--><noscript class="gtm"><iframe height="0" src="https://www.googletagmanager.com/ns.html?id=GTM-W59SWTR" style="display:none;visibility:hidden" width="0"></iframe></noscript><!--End Google Tag Manager (noscript)--><pre>#include&lt;stdio.h&gt;
main(){
int main(){
int a,b;
scanf("%d%d",&amp;a,&amp;b);
/* the positive Rational number
Expand Down
2 changes: 1 addition & 1 deletion src/lab/exp4/Hints1/Hint_4.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-W59SWTR');</script><!--End Google Tag Manager--></head><body><!--Google Tag Manager (noscript)--><noscript class="gtm"><iframe height="0" src="https://www.googletagmanager.com/ns.html?id=GTM-W59SWTR" style="display:none;visibility:hidden" width="0"></iframe></noscript><!--End Google Tag Manager (noscript)--><pre>#include &lt;stdio.h&gt;
#include &lt;math.h&gt;
main(){
int main(){
int N,i;
double result = 0;
scanf("%d",&amp;N);
Expand Down
2 changes: 1 addition & 1 deletion src/lab/exp4/Hints2/Hint_4.html
Original file line number Diff line number Diff line change
Expand Up @@ -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');</script><!--End Google Tag Manager--></head><body><!--Google Tag Manager (noscript)--><noscript class="gtm"><iframe height="0" src="https://www.googletagmanager.com/ns.html?id=GTM-W59SWTR" style="display:none;visibility:hidden" width="0"></iframe></noscript><!--End Google Tag Manager (noscript)--><pre>#include&lt;stdio.h&gt;
main(){
int main(){
int N;

scanf("%d",&amp;N);
Expand Down
2 changes: 1 addition & 1 deletion src/lab/exp5/Hints1/Hint_4.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
int isAlphabet(char x){
return (x&gt;='a' &amp;&amp; x&lt;='z')||(x&gt;='A' &amp;&amp; x&lt;='Z');
}
main(){
int main(){
char s[1001];
scanf("%[^\n]s",s);
int i=0,j=strlen(s)-1;
Expand Down
2 changes: 1 addition & 1 deletion src/lab/exp5/Hints2/Hint_4.html
Original file line number Diff line number Diff line change
Expand Up @@ -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');</script><!--End Google Tag Manager--></head><body><!--Google Tag Manager (noscript)--><noscript class="gtm"><iframe height="0" src="https://www.googletagmanager.com/ns.html?id=GTM-W59SWTR" style="display:none;visibility:hidden" width="0"></iframe></noscript><!--End Google Tag Manager (noscript)--><pre>#include&lt;stdio.h&gt;
main(){
int main(){
char str1[2000];
char str2[2000];
scanf("%s %s",str1,str2);
Expand Down
2 changes: 1 addition & 1 deletion src/lab/exp6/Hints1/Hint_4.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
return ans;

}
main(){
int main(){
int W;
scanf("%d%d",&amp;N,&amp;W);

Expand Down
2 changes: 1 addition & 1 deletion src/lab/exp6/Hints2/Hint_4.html
Original file line number Diff line number Diff line change
Expand Up @@ -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",&amp;N);
int weights[N],i,D;
Expand Down
2 changes: 1 addition & 1 deletion src/lab/exp7/Hints1/Hint_4.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-W59SWTR');</script><!--End Google Tag Manager--></head><body><!--Google Tag Manager (noscript)--><noscript class="gtm"><iframe height="0" src="https://www.googletagmanager.com/ns.html?id=GTM-W59SWTR" style="display:none;visibility:hidden" width="0"></iframe></noscript><!--End Google Tag Manager (noscript)--><pre>#include&lt;stdio.h&gt;
#include&lt;string.h&gt;
main(){
int main(){
char s1[51],s2[51];
scanf("%s %s",s1,s2);
char sum[52];
Expand Down
2 changes: 1 addition & 1 deletion src/lab/exp7/Hints2/Hint_4.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}

}
main(){
int main(){
scanf("%d",&amp;N);
printf("%.4lf\n",mysqrt(1,N));
return 0;
Expand Down
2 changes: 1 addition & 1 deletion src/lab/exp8/Hints1/Hint_4.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
else
return search(a,mid+1,end,num);
}
main(){
int main(){
int N;
scanf("%d",&amp;N);
int arr[N];
Expand Down
2 changes: 1 addition & 1 deletion src/lab/exp8/Hints2/Hint_4.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
})(window,document,'script','dataLayer','GTM-W59SWTR');</script><!--End Google Tag Manager--></head><body><!--Google Tag Manager (noscript)--><noscript class="gtm"><iframe height="0" src="https://www.googletagmanager.com/ns.html?id=GTM-W59SWTR" style="display:none;visibility:hidden" width="0"></iframe></noscript><!--End Google Tag Manager (noscript)--><pre>#include&lt;stdio.h&gt;
#include&lt;string.h&gt;

main(){
int main(){
int N;
char str[1000001];
scanf("%s",str);
Expand Down
2 changes: 1 addition & 1 deletion src/lab/exp9/Hints1/Hint_4.html
Original file line number Diff line number Diff line change
Expand Up @@ -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",&amp;N);
int weight[N],i;
Expand Down
2 changes: 1 addition & 1 deletion src/lab/exp9/Hints2/Hint_4.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
return a+b;

}
main(){
int main(){
int i;
scanf("%d",&amp;N);
int weights[N];
Expand Down

0 comments on commit 0b95c81

Please sign in to comment.