CINXE.COM

Online Compiler and IDE >> C/C++, Java, PHP, Python, Perl and 70+ other compilers and interpreters - Ideone.com

<!DOCTYPE html> <!-- comment --> <html lang="en" xml:lang="en"> <head> <meta charset="UTF-8" /> <!-- node ideone-www2 --> <title>Online Compiler and IDE &gt;&gt; C/C++, Java, PHP, Python, Perl and 70+ other compilers and interpreters - Ideone.com</title> <meta name="description" content="Compile various programming languages online. Add input stream, save output, add notes and tags." /> <meta name="keywords" content="online compiler, online ide, learn programming online, programming online, run code online, snippet, snippets, pastebin, online debugging tool, online interpreter, run your code online, run code, execute code, C++, Java, Python" /> <meta property="og:site_name" content="Ideone.com"/> <meta property="og:image" content="http://profile.ak.fbcdn.net/hprofile-ak-prn1/50232_245768360841_3377786_q.jpg"/> <meta property="og:description" content="Ideone is something more than a pastebin; it's an online compiler and debugging tool which allows to compile and run code online in more than 40 programming languages."/> <meta property="og:title" content="Ideone.com"/> <link rel="shortcut icon" type="image/png" href="//d2c5ubcnqbm27w.cloudfront.net/gfx2/img/favicon.png" /> <link href="//d2c5ubcnqbm27w.cloudfront.net/gfx2/libs/bootstrap/css/bootstrap-with-responsive-1200-only.min.css" rel="stylesheet" media="all"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <!-- , initial-scale=0.25 --> <link rel="preconnect" href="https://www.google-analytics.com"> <link rel="preconnect" href="https://srv.carbonads.net"> <link rel="preconnect" href="https://srv.buysellads.com"> <link rel="preconnect" href="https://vc.hotjar.io"> <link rel="preconnect" href="https://vars.hotjar.com"> <style> [class^="icon-"], [class*=" icon-"] { display: inline; width: auto; height: auto; /*line-height: normal;*/ vertical-align: baseline; background-image: none; background-position: 0% 0%; background-repeat: repeat; margin-top: 0; } a [class^="icon-"], a [class*=" icon-"] { display: inline; } </style> <link href="//d2c5ubcnqbm27w.cloudfront.net/gfx2/libs/fontello-8f7d2dfe/css/fontello.css?3" rel="stylesheet"/> <!--[if IE 7]> <link rel="stylesheet" href="//d2c5ubcnqbm27w.cloudfront.net/gfx2/libs/fontello-8f7d2dfe/css/fontello-ie7.min.css?3"> <![endif]--> <link href="//d2c5ubcnqbm27w.cloudfront.net/themes/smoothness/jquery-ui-1.10.1.custom.min.css" type="text/css" rel="stylesheet"/> <!-- jak sie wrzuci do bundle to nie dziala --> <!-- <link href="/gfx2/css/jquery-ui-bootstrap/jquery-ui-1.10.0.custom.css" type="text/css" rel="stylesheet" /> --> <!-- mozna ew wlaczyc zamiast tego powyzej --> <!-- 2013-02-07 by wiele: na czas develu wyrzucam to z bundle zeby moc latwiej debugowac w firebugu --> <link href="//d2c5ubcnqbm27w.cloudfront.net/gfx2/css/ideone-bundle.css?3" rel="stylesheet"/> <!-- end of rzeczy przeniesione tymczasowo z bundle --> <script type="text/javascript"> var cookie_name = 'settings'; var cookie_time = 15552000; var is_mobile = 0; var ace_options = {}; </script> <!-- 2013-02-07 by wiele: na czas develu wyrzucam to z bundle zeby moc latwiej debugowac w firebugu --> <script type="text/javascript" src="//d2c5ubcnqbm27w.cloudfront.net/gfx2/js/ideone-libs-bundle.js?2"></script> <script type="text/javascript" src="//d2c5ubcnqbm27w.cloudfront.net/gfx2/libs/ace-2017-06/ace.js?1" data-ace-base="/gfx2/libs/ace-2017-06"></script> <script type="text/javascript" src="//d2c5ubcnqbm27w.cloudfront.net/gfx2/js/ideone-common.js?13"></script> <!-- end of rzeczy przeniesione tymczasowo z bundle --> <script type="text/javascript"> (function(){ var bsa_optimize=document.createElement('script'); bsa_optimize.type='text/javascript'; bsa_optimize.async=true; bsa_optimize.src='https://cdn4.buysellads.net/pub/ideone.js?'+(new Date()-new Date()%600000); (document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(bsa_optimize); })(); </script> <script src="https://sentry2.sphere-research.com/js-sdk-loader/521256c075c8543be62ed54469fffe42.min.js" crossorigin="anonymous" ></script> </head> <body class=" not-responsive"> <div id="_container"> <noscript><div id="js_required" class="alert alert-error" style="margin-bottom: 0px">Ideone.com requires JavaScript to work.</div></noscript> <div class="navbar " id="primary-navigation"> <div class="navbar-inner"> <div class="container"> <a class="btn btn-navbar collapsed" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <a href="/" class="brand scroll-page"><span></span></a> <div class="nav-collapse collapse " style="height: 0px;"> <ul class="nav pull-right"> <li class=""><a href="/" class="scroll-page"><i class="icon-home"></i> new code</a></li> <li class=""><a href="/samples" class="scroll-page"><i class="icon-lightbulb"></i> samples</a></li> <li class=""><a href="/recent" class="scroll-page"><i class="icon-cloud"></i> recent codes</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle btn-singin-wnd-open" data-toggle="dropdown"><i class="icon-signin"></i> sign in</a> <ul class="dropdown-menu dropdown-form" id="signin-dropdown"> <li class="dropdown-caret right"> <span class="caret-outer"></span> <span class="caret-inner"></span> </li> <li> <div class="modal-body"> <form action="//ideone.com/account/login" method="post"> <div style="margin-bottom: 20px;"> New user? <a class="normal-link" href="/account/register">Sign up</a> </div> <div class="control-group"> <div class="controls"> <div class="input-prepend" style="margin-bottom: 0px"> <span class="add-on rel-tooltip" title="Username or e-mail"><i class="icon-user"></i></span> <input type="text" class="span2" id="username" name="username" value="" placeholder="Username or e-mail" /> </div> </div> </div> <div class="control-group" style="margin-bottom: 0px"> <div class="controls"> <div class="input-prepend"> <span class="add-on rel-tooltip" title="Password"><i class="icon-key"></i></span> <input type="password" class="span2" id="password" name="password" value="" placeholder="Password" /> </div> </div> </div> <input type="hidden" name="remember" value="yes"/> <input type="hidden" name="next" value="L2xlZ2FsLWdkcHI="/> <div class="control-group"> <div class="controls"> <button type="submit" class="btn"><i class="icon-signin"></i> Sign in</button> </div> </div> <div> <a class="normal-link" href="/account/forgot">Can't sign in?</a> </div> <hr class="clear" style="margin: 0px; margin-bottom: 10px"/> <a class="btn facebook-login-button" href="https://www.facebook.com/dialog/oauth?client_id=347515280067&redirect_uri=https://ideone.com/account/registerfb/&scope=email,user_location,user_hometown">Log in with Facebook</a> </form> </div> </li> </ul> </li> <li class=" dropdown-hover"> </li> </ul> </div> <!-- /.nav-collapse --> </div> <!-- /.container --> </div> <!-- /.navbar-inner --> </div> <div class="container" style="padding: 0; margin-top: 0; margin-bottom: 0;"> </div> <div class="container"> <div class="row"> <div class="span12" style="text-align: justify;"> <h1>Information clause</h1> <p>For the sake of your safety, in connection with the Regulation of the European Parliament and of the Council (EU) 2016/679 EU of 27 April 2016, hereinafter: &quot;GDPR&quot;, coming into force starting from 25 May 2018, below we present information and rules for the processing of your personal data.</p> <p>The Controller of the personal data that you provide is Sphere Research Labs Sp贸艂ka z ograniczon膮 odpowiedzialno艣ci膮 with its registered office in Gdynia (81-451) at ul. Zwyci臋stwa 96/98. The Controller can be contacted at the postal address of the Controller's office, electronically via e-mail sent to: contact@sphere-research.com or through the contact form available on the website [<a href="http://ideone.com%5D">http://ideone.com]</a> in all matters relating to the processing of personal data and the use of rights related to the processing of personal data.</p> <p>Your data can be processed based on:</p> <ul> <li>indispensability of said data to perform the agreement or to take actions before its conclusion (article 6 paragraph 1 point b of GDPR, for the purpose of User account registration.</li> <li>giving consent by ticking the box below (article 6 paragraph 1 point a of GDPR) in order to receive commercial information about the products and services of Sphere Research Labs Sp. z o. o. Failure to agree to the processing of personal data for this purpose will result in the refusal to send marketing information.</li> </ul> <h2>Information about the requirement to provide data</h2> <p>Providing personal data indicated in this application is voluntary, but in the scope of:</p> <ul> <li>username, password, e-mail address鈥攏ecessary to register the User's account. Not submitting the above data in the form will result in rejection of the online application for the registration of the User's account.</li> <li>e-mail address鈥攏ecessary to send marketing information via these communication channels.</li> </ul> <h2>Period of data processing</h2> <p>Your data collected in order to register your account will be processed for a period until your wish to delete the account. The relevant statement may be submitted in writing or via the website or e-mail. In the event of personal data being processed for marketing purposes, based on your consent, your data will be stored until your consent is withdrawn.</p> <h2>Data recipients</h2> <p>Your personal data may be transferred to IT service providers, where such entities process data on the basis of agreements concluded with the Contoller and only in accordance with the Controller's instructions.</p> <h2>Your rights</h2> <p>You have the following rights depending on the legal basis of the processing:</p> <ul> <li>access the content of your data, demand its rectification, deletion or limitation of its processing;</li> <li>transfer personal data, i.e. to receive information from the Controller about the personal data being processed, in a structured, commonly used machine-readable format, to the extent that your data is being processed in order to conclude and perform the agreement or on the basis of consent.</li> <li>file a complaint to the President of the Office for Personal Data Protection, if you decide that the processing of your personal data violates the provisions of the GDPR.</li> </ul> <p>In order to exercise the above rights, please contact the Controller at the address for correspondence, via e-mail or via the contact form available on the website.</p> </div> </div> </div> <div id="footer" class="footer shadow-inner-top"> <div class="container"> <a href="http://sphere-research.com?utm_campaign=permanent&utm_medium=footer&utm_source=ideone" target="_blank">Sphere Research Labs</a>. Ideone is powered by <a href="http://sphere-engine.com/?utm_campaign=permanent&utm_medium=footer&utm_source=ideone" target="_blank">Sphere Engine&trade;</a> <p id="footer-links"> <a href="/">Home</a> <a href="https://sphere-engine.com/?utm_campaign=permanent&utm_medium=sphereengine&utm_source=ideone" target="_blank">API</a> <a href="#" data-toggle="modal" data-target="#lang-dialog">Language</a> <a href="/faq">FAQ</a> <a href="/credits">Credits</a> <span style="margin-left: 20px"> desktop <a href="/switch/mobile/L2xlZ2FsLWdkcHI=" class="margin-left">mobile</a> </span> <br/> <a href="/legal-tos">Terms of Service</a> <a href="/legal-pp">Privacy Policy</a> <a href="/legal-gdpr">GDPR Info</a> </p> <a href="/ideone/Tools/bug/form/1" id="show_bug_dialog" data-toggle="modal" data-target="#bug-dialog">Feedback &amp; Bugs</a> <!-- <p class="values">3, 0.01s, 0.02s</p> --> <br> <p><strong>Popular languages:</strong></p> <p> <a href="/l/bash">Bash</a> <a href="/l/pascal">Pascal</a> <a href="/l/c">C</a> <a href="/l/perl">Perl</a> <a href="/l/c-sharp">C#</a> <a href="/l/php">PHP</a> <a href="/l/cpp">C++</a> <a href="/l/pascal">Python</a> <a href="/l/cpp14">C++14</a> <a href="/l/python-3">Python3</a> <a href="/l/haskell">Haskell</a> <a href="/l/ruby">Ruby</a> <a href="/l/java">Java</a> <a href="/l/sqlite">SQLite</a> <a href="/l/objective-c">Objective-C</a> <a href="/l/swift">Swift</a> <a href="/l/vb-net">VB.net</a> <br/> <a href="/languages">List of all supported programming languages</a> </p> </div> </div> <div class="modal hide fade" id="bug-dialog" role="dialog" tabindex="-1"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <h3>Report bug / make suggestion</h3> </div> <div class="modal-body"> <img src="//d2c5ubcnqbm27w.cloudfront.net/gfx/loader.gif" style="width: 14px; height: 14px;" alt="loading..."/> </div> <div class="modal-footer"> <a href="#" class="btn" data-dismiss="modal">Close</a> <a href="#" class="btn btn-primary" id="bug-dialog-submit">submit</a> </div> </div> <div class="modal hide fade" id="lang-dialog"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <h3>Choose your language</h3> </div> <div class="modal-body"> <ul style="list-style-type: none;"> <li><a href="/lang/en"><b>English</b></a></li> <li><a href="/lang/hi">Hindi</a></li> <li><a href="/lang/hu">Hungarian</a></li> <li><a href="/lang/mn">Mongolian</a></li> <li><a href="/lang/pl">Polish</a></li> <li><a href="/lang/ru">Russian</a></li> <li><a href="/lang/es">Spanish</a></li> <li><a href="/lang/zh">Traditional Chinese</a></li> </ul> </div> <div class="modal-footer"> <a href="#" class="btn" data-dismiss="modal">close</a> </div> </div> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-LK6L5KL2NR"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-LK6L5KL2NR'); </script> <script type="text/javascript"> $(function(){ $(document).on('click', '.track', function(){ var event = $(this).attr('data-event'); var action = $(this).attr('data-action'); var value = $(this).attr('data-value'); // ga('send', 'event', event, action, value); // console.log(event); }); }); </script> <!-- Hotjar Tracking Code for http://ideone.com --> <script> (function(h,o,t,j,a,r){ h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; h._hjSettings={hjid:334655,hjsv:5}; a=o.getElementsByTagName('head')[0]; r=o.createElement('script');r.async=1; r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; a.appendChild(r); })(window,document,'//static.hotjar.com/c/hotjar-','.js?sv='); </script> <script> </script> <script> (function(){ if(typeof _bsa !== 'undefined' && _bsa) { // format, zoneKey, segment:value, options _bsa.init('flexbar', 'CE7D42QN', 'placement:ideonecom'); } })(); </script> </div><!-- end of #_container --> <!-- <script type="text/javascript"> (function() { var wrc = document.createElement('script'); wrc.type = 'text/javascript'; wrc.async = true; window.rc_utm_source='ideone'; wrc.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'recruitcoders.com/w4loader.js'; var s = document.getElementsByTagName('body')[0]; s.appendChild(wrc); })(); </script> --> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10