Skip to content

Commit

Permalink
Merge pull request #4 from virtual-labs/testing
Browse files Browse the repository at this point in the history
Testing
  • Loading branch information
sravanthimodepu committed Dec 17, 2021
2 parents e24160f + 5a48235 commit 331f4bf
Show file tree
Hide file tree
Showing 10 changed files with 58 additions and 58 deletions.
10 changes: 5 additions & 5 deletions experiment/simulation/exp8/Hints1/Hint_0.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<html><head><!--Google Tag Manager--><script class="gtm">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
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></pre>
<html><head>
</head>
<body>
<pre></pre>
</body></html>
12 changes: 6 additions & 6 deletions experiment/simulation/exp8/Hints1/Hint_1.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<html><head><!--Google Tag Manager--><script class="gtm">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
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;
<html><head>
</head>
<body>
<pre>#include&lt;stdio.h&gt;
#include&lt;stdlib.h&gt;
main(){
int main(){
-&gt;declare and scan N
-&gt;declare and scan the array
-&gt;sort the array
Expand Down
12 changes: 6 additions & 6 deletions experiment/simulation/exp8/Hints1/Hint_2.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<html><head><!--Google Tag Manager--><script class="gtm">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
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;
<html><head>
</head>
<body>
<pre>#include&lt;stdio.h&gt;
#include&lt;stdlib.h&gt;
int search(int *arr,int start,int end,int num){

}
main(){
int main(){
-&gt;declare and scan N
-&gt;declare and scan the array
-&gt;sort the array
Expand Down
12 changes: 6 additions & 6 deletions experiment/simulation/exp8/Hints1/Hint_3.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<html><head><!--Google Tag Manager--><script class="gtm">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
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;
<html><head>
</head>
<body>
<pre>#include&lt;stdio.h&gt;
#include&lt;stdlib.h&gt;
int search(int *arr,int start,int end,int num){
-&gt;termination condition
Expand All @@ -12,7 +12,7 @@
else
return search(arr,mid+1,end,num);
}
main(){
int main(){
-&gt;declare and scan N
-&gt;declare and scan the array
-&gt;sort the array
Expand Down
12 changes: 6 additions & 6 deletions experiment/simulation/exp8/Hints1/Hint_4.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<html><head><!--Google Tag Manager--><script class="gtm">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
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;
<html><head>
</head>
<body>
<pre>#include&lt;stdio.h&gt;
#include&lt;stdlib.h&gt;
int compare(const void *a,const void *b){
return *((int *)a)&gt;*((int *)b);
Expand All @@ -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
10 changes: 5 additions & 5 deletions experiment/simulation/exp8/Hints2/Hint_0.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<html><head><!--Google Tag Manager--><script class="gtm">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
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></pre>
<html><head>
</head>
<body>
<pre></pre>
</body></html>
12 changes: 6 additions & 6 deletions experiment/simulation/exp8/Hints2/Hint_1.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<html><head><!--Google Tag Manager--><script class="gtm">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
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(){
<html><head>
</head>
<body>
<pre>#include&lt;stdio.h&gt;
int main(){
-&gt;scan the input
-&gt;for each index in the string
-&gt;update the position array
Expand Down
12 changes: 6 additions & 6 deletions experiment/simulation/exp8/Hints2/Hint_2.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<html><head><!--Google Tag Manager--><script class="gtm">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
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(){
<html><head>
</head>
<body>
<pre>#include&lt; stdio.h&gt;
int main(){
-&gt;scan the input
-&gt;for each index in the string
for(j=0;j&lt; N;j++)
Expand Down
12 changes: 6 additions & 6 deletions experiment/simulation/exp8/Hints2/Hint_3.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<html><head><!--Google Tag Manager--><script class="gtm">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
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(){
<html><head>
</head>
<body>
<pre>#include&lt; stdio.h&gt;
int main(){
-&gt;scan the input
-&gt;for each index in the string
for(j=0;j&lt; N;j++)
Expand Down
12 changes: 6 additions & 6 deletions experiment/simulation/exp8/Hints2/Hint_4.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<html><head><!--Google Tag Manager--><script class="gtm">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
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;
<html><head>
</head>
<body>
<pre>#include&lt;stdio.h&gt;
#include&lt;string.h&gt;

main(){
int main(){
int N;
char str[1000001];
scanf("%s",str);
Expand Down

0 comments on commit 331f4bf

Please sign in to comment.