Looking for an inspiration? Below you will find public programs submitted by other users.

Filter by: All Bash C C# C++ 4.9.2 C++14 Haskell Java Java7 Objective-C Pascal (fpc) Pascal (gpc) Perl PHP Python Python 3 Ruby SQL VB.NET Ada Assembler Assembler AWK (gawk) AWK (mawk) bc Brainf**k C++ 4.3.2 C99 strict CLIPS Clojure COBOL COBOL 85 Common Lisp (clisp) D D (dmd) Erlang F# Factor Falcon Forth Fortran Go Groovy Icon Intercal JavaScript (rhino) JavaScript (spidermonkey) Lua Nemerle Nice Nimrod Node.js Ocaml Octave Oz PARI/GP Perl 6 Pike Prolog (gnu) Prolog (swi) Python (Pypy) R Scala Scheme (chicken) Scheme (guile) Smalltalk Tcl Text Unlambda Whitespace

#mQxfkk C++ 4.9.2 9 hours ago
Compilation error
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int com=1;
  6. if(com!=1)
  7. printf("X");
  8. if(com>0)
  9. if(com<10)
#8RQCY7 C++ 4.9.2 9 hours ago
Compilation error
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int com=1;
  6. if(com!=1)
  7. printf("X");
  8. if(com>0)
  9. if(com<10)
#9CjyRE C++ 4.9.2 8 hours ago
Compilation error
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4. int main() {
  5. string s,s0;
  6. char c;
  7. cout<<"Введите строки";
  8. getline(cin,s);
  9. getline(cin,s0);
#sw0n2M C++ 4.9.2 9 hours ago
Success
  1. #include<iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. int B, N, d, a, p;
  7. bool c;
  8.  
  9. while(1)
#3M14MF C++ 4.9.2 8 hours ago
Success
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. cout<< "HELLO :) HOW ARE YOU TODEAY?" <<endl;
  6.  
  7.  
  8.  
  9.  
#5vzRo2 C++ 4.9.2 8 hours ago
Success
  1.  
  2. #include <bits/stdc++.h>
  3. #define N 1005
  4.  
  5. #define MOD 10007
  6.  
  7. using namespace std;
  8.  
  9. int memo[N][N][2];
#RUx6Hl C++ 4.9.2 9 hours ago
Compilation error
  1. #include<stdio.h>
  2. #include<iostream.h>
  3.  
  4.  
  5. int main()
  6. {
  7. for(int j=2;j<=100;++j)
  8. {
  9. int i=2;
#Mv2UwH C++ 4.9.2 9 hours ago
Compilation error
  1. #include <iostream>
  2. #include <cmath>
  3. using namespace std;
  4. int main()
  5. {
  6. int n,m;
  7. cin >> n;
  8. int m=cbrt(n);
  9. if (m*m*m==n)
#6UOD13 C++ 4.9.2 9 hours ago
Success
  1. #include <stdio.h>
  2. #include <cstring>
  3. #include <algorithm>
  4.  
  5. using namespace std;
  6.  
  7. const int INF = (int) 1e9 + 100;
  8. const int V = (int)1e5 + 100, E = V;
  9. typedef long long ll;
#YulPg1 C++ 4.9.2 9 hours ago
Compilation error
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int x=1,y=2,z=3;
  6. if(z<=y&&y==0){
  7. printf("AAA");
  8. }else{
  9. if(x!=y||x!=z)
#luJpQd C++ 4.9.2 9 hours ago
Success
  1. #include <stdio.h>
  2. #include <cstring>
  3. #include <algorithm>
  4.  
  5. using namespace std;
  6.  
  7. const int INF = (int) 1e9 + 100;
  8. const int V = (int)1e5 + 100, E = V;
  9. typedef long long ll;
#y1GpxT C++ 4.9.2 8 hours ago
Success
  1. #include <iostream>
  2. #include<cstdio>
  3. using namespace std;
  4.  
  5. int main() {
  6. // your code goes here
  7. long int t,x,y,k,n,i,c,p,count;
  8. scanf("%ld",&t);
  9.  
#p0oECG C++ 4.9.2 9 hours ago
Compilation error
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. const size = 50;
  5.  
  6. template <class T>
  7.  
  8. class arr
  9. {
#3nzFg0 C++ 4.9.2 9 hours ago
Success
  1.  
  2. #define J(xy,zw) xy##in ##zw//*
  3. /*ifdef*/ #include <cstdio> //endif\#
  4. J( ,t )z =0 +3 ;J (,
  5. t) J( ma ,) ()
  6. {J (, t) i= 1,
  7. v;for(;i <6 ;i ++ ){v=-960
  8. ;v=v+238 *5 *5 *i ;v-=(99*
  9. 8* 5+ 7) *i *i
#NQZJp3 C++ 4.9.2 9 hours ago
Runtime error
  1. #include<iostream>
  2. #include<stack>
  3. using namespace std;
  4. int main()
  5. {
  6. stack<int> s;
  7. int t=11,n=11,x,y=11,d=1;
  8. while(3-2==1)
  9. {
#V775OP C++ 4.9.2 9 hours ago
Success
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. printf ("137=2(2(2)+2+2(0))+2(2+2(0))+2(0)\n1315=2(2(2+2(0))+2)+2(2(2+2(0)))+2(2(2)+2(0))+2+2(0)\n73=2(2(2)+2)+2(2+2(0))+2(0)136=2(2(2)+2+2(0))+2(2+2(0))\n255=2(2(2)+2+2(0))+2(2(2)+2)+2(2(2)+2(0))+2(2(2))+2(2+2(0))+2(2)+2+2(0)\n1384=2(2(2+2(0))+2)+2(2(2+2(0)))+2(2(2)+2)+2(2(2)+2(0))+2(2+2(0))\n16385=2(2(2+2(0))+2(2)+2)+2(0)");
  7. return 0;
  8. }
#eeFBZm C++ 4.9.2 9 hours ago
Compilation error
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int x=1,y=2,z=3;
  6. if(z<=y&&y==0){
  7. printf("X");
  8. }else{
  9. if(x!=y||x!=z)
#1O0r6W C++ 4.9.2 9 hours ago
Success
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. #define MAXN 100003
  4. pair<int,int> Time[MAXN];
  5. bool mycmp(const pair<int,int>&a ,const pair<int,int> &b)
  6. {
  7. if(a.second==b.second)
  8. return (a.first<b.first);
  9. else
#G6lw1Y C++ 4.9.2 8 hours ago
Success
  1. #include <cmath>
  2. #include <cstdio>
  3. #include <vector>
  4. #include <iostream>
  5. #include <algorithm>
  6. #include<string.h>
  7. using namespace std;
  8.  
#0ck9GM C++ 4.9.2 9 hours ago
Compilation error
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int x=1,y=2,z=3;
  6. if(z<=y&&y==0){
  7. printf("X");
  8. }eles{
  9. if(x!=y||x!=z)
#LYIEb2 C++ 4.9.2 9 hours ago
Success
  1. #include <iostream>
  2. #include <string>
  3. #include <math.h>
  4. #include <cstdio>
  5.  
  6. using namespace std;
  7.  
  8. int i=0, N;
  9. float K, U[100], Uq;
#5g3rqC C++ 4.9.2 9 hours ago
Compilation error
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int x=1,y=2,z=3;
  6. if(z<=y&&y==0){
  7. printf("x");
  8. }eles{
  9. if(x!=y||x!=z)
#KBgLFA C++ 4.9.2 9 hours ago
Compilation error
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int x=1,y=2,z=3
  6. if(z<=y&&y==0){
  7. printf("x");
  8. }eles{
  9. if(x!=y||x!=z)
#7tjgD1 C++ 4.9.2 9 hours ago
Compilation error
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int x=1,y=2,z=3
  6. if(Z<=y&&y==0){
  7. printf("x");
  8. }eles{
  9. if(x!=y||x!=z)
#9RbMJg C++ 4.9.2 9 hours ago
Compilation error
  1. #include <fstream>
  2. # define maxx 1000
  3. using namespace std;
  4. bool c[1009],nciur;
  5. int ciur[
  6. void ciuratostene()
  7. {
  8. int i , j ;
  9. ciur[++nciur]=2;
#0RvlWx C++ 4.9.2 8 hours ago
Success
  1. #include<stdio.h>
  2. #include<string.h>
  3. #define MAX 10001
  4. int C[MAX];
  5. int main(){
  6. int t,count=0,i;
  7. int ch[MAX]={0};
  8. int n,p;
  9. scanf("%d",&t);
#4EHFUl C++ 4.9.2 9 hours ago
Success
  1. #include <iostream>
  2. #include<string>
  3. #include<cstring>
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. int n;
  9. cin>>n;
#Yt0aGU C++ 4.9.2 9 hours ago
Success
  1. // ConsoleApplication4.cpp : Defines the entry point for the console application.
  2. //
  3.  
  4. #include "iostream"
  5. #include "string"
  6. using namespace std;
  7. bool a [26];
  8. void set(char b)
  9. {
#easmbC C++ 4.9.2 9 hours ago
Success
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. int t, n, k, q, l, r;
  7. cin >> t;
  8. while(t--) {
  9. cin >> n >> k >> q;
#7W8w6L C++ 4.9.2 7 hours ago
Compilation error
  1. #include <iostream>
  2. #include<string.h>
  3. #include<stdlib.h>
  4. using namespace std;
  5. void reversestring(char *str,int beg,int end){
  6. char temp;
  7. while(beg<end){
  8. temp=str[beg];
  9. str[beg]=str[end];