Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added python file #1197

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
269 changes: 269 additions & 0 deletions Introduction.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,269 @@
<!DOCTYPE html>
<html lang="en"><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-->

<meta charset="utf-8"/>
<meta content="IE=edge" http-equiv="X-UA-Compatible"/>
<meta content="width=device-width, initial-scale=1" name="viewport"/>
<meta content="Welcome to Virtual Labs - A MHRD Govt of india Initiative" name="description"/>
<meta content="Virtual Labs - A MHRD Govt of india Initiative" name="author"/>

<title>Welcome to Virtual Labs - A MHRD Govt of india Initiative</title>

<link href="../images/favicon.ico" rel="shortcut icon"/>


<link href="../css/bootstrap.min.css" rel="stylesheet"/>

<!-- Important Owl stylesheet -->
<link href="../vendors/owl-carousel/owl.carousel.css" rel="stylesheet"/>
<link href="../vendors/owl-carousel/owl.theme.css" rel="stylesheet"/>

<link href="../vendors/font-awesome/css/font-awesome.css" rel="stylesheet"/>

<!-- Custom CSS -->
<link href="../css/style.css" rel="stylesheet"/>
<script src="tabs.js" type="text/javascript"></script>
<script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create', 'UA-67020197-1', 'auto');ga('send', 'pageview');</script>
</head>
<body class="index" id="page-top"><!--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)-->
<div id="top">
<header>
<!-- Navigation -->
<nav class="navbar navbar-default " style="background-color: white !important; margin-bottom: 0px !important;">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header page-scroll">
<button class="navbar-toggle" data-target="#bs-example-navbar-collapse-1" data-toggle="collapse" type="button">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar" style="background-color: #77BB41"></span>
<span class="icon-bar" style="background-color: #77BB41"></span>
<span class="icon-bar" style="background-color: #77BB41"></span>
</button>
<a class="navbar-brand main-logo-a" href="http://vlab.co.in"><img class="img-responsive main-logo" src="../images/logo-new.png"/></a>
</div>

<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse menu-div" id="bs-example-navbar-collapse-1" style="border: 0px;">

<ul class="nav navbar-nav navbar-right menu-ul search-ul" style="position: relative; top: -5px;">
<li>
<form action="../search-result.html" method="get">
<!-- <input type="text" class="search-textbox" placeholder="SEARCH FOR A LAB" name="q" id="q"/>
<input type="submit" value="" class="search-button" />
</form> -->
</form></li>
</ul>

<ul class="nav navbar-nav navbar-right menu-ul">
<li class="page-scroll menu-li ">
<a class="menu-a" href="http://vlabs.ac.in/">HOME</a>
</li>
<!-- <li class="page-scroll menu-li menu-li-active">
<a class="menu-a menu-a-active" href="http://vlabs.ac.in/labs.html">ALL LABS</a>
</li>
--> <li class="page-scroll menu-li ">
<a class="menu-a" href="http://vlabs.ac.in/#partner">PARTNERS</a>
</li><li class="page-scroll menu-li ">
<a class="menu-a" href="http://vlabs.ac.in/#contact">CONTACT</a>
</li>
</ul>



</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container-fluid -->
</nav>
</header>

<div id="content">
<div class="container-fluid">
<div class="row">
<hr style="background:#ff6600 !important; height: 8px; margin-top: 0px;"/>
</div> <!-- row end -->
</div> <!-- container-fluid end for slider -->


<!-- =================================================================================================================================== -->
<div class="container-fluid" style="margin-left: 35px; margin-right: 35px;">
<h2 class="text-h2-lightblue" style=" margin-bottom: 20px; margin-top: 10px; "><a class="sidebar-a" href="http://vlabs.ac.in/computer-science-and-engineering-labs.html">Computer Science &amp; Engineering</a> →<a class="sidebar-a" href="../Introduction.html">Problem Solving Lab</a> →<a class="sidebar-a" href="../List of experiments.html">List Of Experiments</a><br/></h2>

<div class="row">
<div class="col-md-2 sidebar-col-2"><a class="sidebar-a" href="Introduction.html?domain=Computer Science&amp;lab=Problem Solving Lab"> <h3 class="text-h3-darkblue" style="margin-top: 2px;"> Introduction </h3> </a><a class="sidebar-a" href="Theory.html?domain=Computer Science&amp;lab=Problem Solving Lab"> <h3 class="text-h3-darkblue" style="margin-top: 2px;"> Theory </h3> </a><a class="sidebar-a" href="Objective.html?domain=Computer Science&amp;lab=Problem Solving Lab"> <h3 class="text-h3-darkblue" style="margin-top: 2px;"> Objective </h3> </a><a class="sidebar-a" href="Manual.html?domain=Computer Science&amp;lab=Problem Solving Lab"> <h3 class="text-h3-darkblue" style="margin-top: 2px;"> Manual </h3> </a><a class="sidebar-a" href="Experiment.html?domain=Computer Science&amp;lab=Problem Solving Lab"> <h3 class="text-h3-darkblue" style="margin-top: 2px;"> Experiment </h3> </a><a class="sidebar-a" href="Quizzes.html?domain=Computer Science&amp;lab=Problem Solving Lab"> <h3 class="text-h3-darkblue" style="margin-top: 2px;"> Quizzes </h3> </a><a class="sidebar-a" href="Feedback.html?domain=Computer Science&amp;lab=Problem Solving Lab"> <h3 class="text-h3-darkblue" style="margin-top: 2px;"> Feedback </h3> </a></div>

<div class="col-md-10 lab-list-col-10">

<!--edit -->
<h1 class="text-h2-lightblue">Advanced Arithmatic</h1><div class="content" id="experiment-article-section-1-content">
<br/>
<p>
Let us consider the task of representing very large numbers in C. As we know we cannot store an intger of maximum value 2<sup>63</sup>-1 and minimum value -2<sup>63 </sup>sing a long long data type in C. But how do we represent numbers which are not in this range, say for example 10<sup>50</sup>.In one of the problems we ask you to do this and explain how it is done usually.
</p>
<br/>
<h2>Problem 1:</h2>
<p>
The task is to accomplish addition of two large positive numbers
</p>
<br/><hr/>
<p><b>Input Specification</b></p><br/>
<p>
There will be two positive integers (&lt; 10^50) separated by a space.
</p>
<br/><hr/>
<p><b>Output Specification</b></p><br/>
<p>
Output must contain a single number representing the sum of the two integers
</p>
<br/><hr/>
<p><b>Sample Input and Output</b></p><br/>
<p>
Input: 323289329329392893 3283928392839283928932329<br/>
Output:3283928716128613258325222<br/>
Input: 10 99<br/>
Output: 109<br/>
</p>
<p align="right"></p>
<br/><hr/>
<br/>
<h2>Problem 2:</h2>
<p>
Find the square root of a positive integer using binary search.
</p>
<br/><hr/>
<p><b>Input Specification</b></p><br/>
<p>
Input will contain a single positive integer N input from keyboard, lesser than 10^9.
</p>
<br/><hr/>
<p><b>Output Specification</b></p><br/>
<p>
Print the square root of the number upto 4 decimal places. A difference upto 0.001 from the the judges solution will be accepted as correct.
</p>
<br/><hr/>
<p><b>Sample Input and Output</b></p><br/>
<p>
Input: 5<br/>
Output: 2.2361<br/>
Input: 25<br/>
Output: 5.0000<br/>
</p>
<p align="right"></p>
<br/><hr/>
<br/><br/></div> </div>
</div>
</div>
<!-- =================================================================================================================================== -->




</div> <!-- content div -->

<footer id="footer"><div class="footer-top" id="contact">
<div class="container">
<div class="row">
<div class="col-lg-4 col-md-6">
<h4>Community Links</h4>
<p>
<a href="http://www.sakshat.ac.in/">Sakshat Portal</a>
</p>
<p>
<a href="http://outreach.vlabs.ac.in/">Outreach Portal</a>
</p>
<p>
<a href="http://vlab.co.in/faq">FAQ : Virtual Labs</a>
</p>
</div>
<div class="col-lg-4 col-md-6">
<h4>Contact Us</h4>
<p> <strong>Phone:</strong> General Information : 011-26582050 </p>
<p> <strong>Email:</strong> [email protected] </p>
</div>
<div class="col-lg-4 col-md-6">
<h4>Follow Us</h4>
<div class="social-links">
<a class="twitter" href="https://twitter.com/TheVirtualLabs" style="background: #55acee;">
<i class="fa fa-twitter"></i>
</a>
<a class="facebook" href="https://www.facebook.com/Virtual-Labs-IIT-Delhi-301510159983871/" style="background: #3b5998;">
<i class="fa fa-facebook"></i>
</a>
<a class="google-plus" href="https://www.youtube.com/watch?v=asxRaOgk6a0" style="background: #e52d27;">
<i class="fa fa-youtube"></i>
</a>
<a class="linkedin" href="https://in.linkedin.com/in/virtual-labs-008ba9136" style="background: #2867B2;">
<i class="fa fa-linkedin"></i>
</a>
</div>
</div>
</div>
</div>
</div>
</footer>


</div> <!-- top div -->





<script src="../js/jquery.js"></script>

<!-- Bootstrap Core JavaScript -->
<script src="../js/bootstrap.min.js"></script>

<!-- Custom Theme JavaScript -->
<script src="../js/custom.js"></script>

<!-- Include js plugin -->
<script src="../vendors/owl-carousel/owl.carousel.js"></script>

<script type="text/javascript">
$(document).ready(function() {

var owl = $("#owl-demo");
owl.owlCarousel({
navigation: true,
navigationText: [
"<img src='../images/left-arrow.png'>",
"<img src='../images/right-arrow.png'>"
],
/* autoPlay : 3000,
stopOnHover : true */
});

//owl for partner institutions
var owl = $("#owl-partner-institutions");
owl.owlCarousel({
navigation: true,
navigationText: [
"<img src='../images/left-arrow.png'>",
"<img src='../images/right-arrow.png'>"
],
autoPlay : 3000,
stopOnHover : true,
items : 8,
});



//owl for aboutus
var owl = $("#owl-aboutus");
owl.owlCarousel({
navigation: true,
singleItem:true
});

});
</script>




</body><!-- jQuery --></html>
Empty file added pro.py
Empty file.