Free Ideone API
try it now!
Your great ideas will be born here
Recent public pastes are listed below. You can filter them by the following programming languages:
- view
- All
- Ada
- Assembler
- AWK (gawk)
- AWK (mawk)
- Bash
- bc
- Brainf**k
- C
- C#
- C++
- C99 strict
- CLIPS
- Clojure
- COBOL
- COBOL 85
- Common Lisp (clisp)
- D (dmd)
- Erlang
- F#
- Factor
- Falcon
- Forth
- Fortran
- Go
- Groovy
- Haskell
- Icon
- Intercal
- Java
- JavaScript (rhino)
- JavaScript (spidermonkey)
- Lua
- Nemerle
- Nice
- Nimrod
- Ocaml
- Oz
- Pascal (fpc)
- Pascal (gpc)
- Perl
- Perl 6
- PHP
- Pike
- Prolog (gnu)
- Prolog (swi)
- Python
- Python 3
- R
- Ruby
- Scala
- Scheme (guile)
- Smalltalk
- Tcl
- Text
- Unlambda
- Visual Basic .NET
- Whitespace
-
1 2 3 4 5 6 7 8 9
class Test{ public static void main(String[] args){ String asn = "S1Nfile"; if(asn.startsWith("SN")){ System.out.println("**** File ******"); }else{ System.out.println("**** Error******"); } }
-
1 2 3 4 5 6 7 8 9
class Test{ public static void main(String[] args){ String asn = "SNfile"; if(asn.startsWith("SN")){ System.out.println("**** File ******"); }else{ System.out.println("**** Error******"); } }
-
1 2 3 4
$a=''; $b=0; if ($a) echo "yes"
-
1 2 3 4 5 6 7 8 9
PROGRAM DANGEROUSMATH !-------------------------------------------------------------------------------Enrique Diaz Engr225 Sept 1, 2010 ! Assignment #2 !This program will tell my ability to recognize error within programs and itll give me experience with double precision !integer, parameter :: dp=selected_real_kind (15) !15 sigfigs ! !------------------------------------------------------------------------------- IMPLICIT NONE integer, parameter :: dp=selected_real_kind (15) !15 sigfigs
...
-
1 2 3 4 5 6 7
class Loop { public static void main(String[] args) { while(true){ System.out.println("waiting.."); } } }
-
1 2 3 4
$a=''; $b=0; if (!$a) echo "yes
-
1
-
1 2 3 4 5 6 7 8 9
PROGRAM DANGEROUSMATH !-------------------------------------------------------------------------------Enrique Diaz Engr225 Sept 1, 2010 ! Assignment #2 !This program will tell my ability to recognize error within programs and itll give me experience with double precision !integer, parameter :: dp=selected_real_kind (15) !15 sigfigs ! !------------------------------------------------------------------------------- IMPLICIT NONE integer, parameter :: dp=selected_real_kind (15) !15 sigfigs
...
-
1 2 3 4 5 6 7 8 9
PROGRAM DANGEROUSMATH !-------------------------------------------------------------------------------Enrique Diaz Engr225 Sept 1, 2010 ! Assignment #2 !This program will tell my ability to recognize error within programs and itll give me experience with double precision !integer, parameter :: dp=selected_real_kind (15) !15 sigfigs ! !------------------------------------------------------------------------------- IMPLICIT NONE integer, parameter :: dp=selected_real_kind (15) !15 sigfigs
...
-
1
System.out.println("hello world!");
-
1 2 3 4 5 6 7 8 9
public class AssignmentOperatorsDemo { public AssignmentOperatorsDemo() { // Assigning Primitive Values int j, k; j = 10; // j gets the value 10. j = 5; // j gets the value 5. Previous value is overwritten. k = j; // k gets the value 5. System.out.println("j is : " + j);
...
-
1 2 3 4 5 6 7 8 9
<?php $tests = array(); $tests[] = 'foo'; $tests[] = 'food'; $tests[] = 'foo;'; $tests[] = 'FOO;bar'; $tests[] = 'foo[bar]'; $tests[] = 'foo[';
...
-
1 2 3 4 5 6 7 8 9
class test{ public static void main(String[] args){ System.out.println(Float.NaN); System.out.println(Float.POSITIVE_INFINITY); System.out.println(Math.min(Float.NaN, Float.POSITIVE_INFINITY));
...
-
1 2 3 4 5 6 7 8
#include <stdio.h> #include <stdlib.h> #include <time.h> /* DECLARAÇÃO DAS DIMENSÕES DOS VETORES A ORDENAR */ const unsigned int TAMANHO_V1 = 1000; const unsigned int TAMANHO_V2 = 50000; const unsigned long int TAMANHO_V3 = 1000000;
...
-
1 2 3 4 5 6 7 8
#include <stdio.h> #include <stdlib.h> #include <time.h> /* DECLARAÇÃO DAS DIMENSÕES DOS VETORES A ORDENAR */ const unsigned int TAMANHO_V1 = 1000; const unsigned int TAMANHO_V2 = 50000; const unsigned long int TAMANHO_V3 = 1000000;
...
-
1 2 3 4 5 6 7 8 9
#include <iostream> using namespace std; int main() { int tests; //number of tests :) cin >> tests; while( tests > 0) {
...
-
1 2 3 4 5 6 7 8
#include <stdio.h> #include <stdlib.h> #include <time.h> /* DECLARAÇÃO DAS DIMENSÕES DOS VETORES A ORDENAR */ const unsigned int TAMANHO_V1 = 1000; const unsigned int TAMANHO_V2 = 50000; const unsigned long int TAMANHO_V3 = 1000000;
...
-
1 2 3 4 5 6 7 8
class test{ public static void main(String[] args){ System.out.println(Math.min(Float.NaN, Float.POSITIVE_INFINITY)); }
-
1 2 3 4 5 6 7 8 9
#include <iostream> using namespace std; int main() { int tests; //number of tests :) cin >> tests; while( tests > 0) {
...
-
1 2 3 4 5 6 7 8 9
#include <iostream> using namespace std; int main() { int tests; //number of tests :) cin >> tests; while( tests > 0) {
...
-
1 2 3 4 5 6 7 8 9
IDENTIFICATION DIVISION. PROGRAM-ID. EXERC1. * ENVIRONMENT DIVISION. * data division. working-storage section. 01 DataSistema. 10 AnoSistema pic 9(004) value zeros.
...
-
1 2 3 4 5 6 7 8 9
identification division. PROGRAM-ID. EXERC1. author. DTS Latin America Software. * data division. working-storage section. 01 DataSistema. 10 AnoSistema pic 9(004) value zeros. 10 MesSistema pic 9(002) value zeros.
...
-
1 2 3 4 5 6 7 8 9
identification division. program_id. Laco. author. DTS Latin America Software. * data division. working-storage section. 01 DataSistema. 10 AnoSistema pic 9(004) value zeros. 10 MesSistema pic 9(002) value zeros.
...
-
1 2 3 4 5 6 7 8
#include <stdio.h> #include <stdlib.h> #include <time.h> /* DECLARAÇÃO DAS DIMENSÕES DOS VETORES A ORDENAR */ const unsigned int TAMANHO_V1 = 1000; const unsigned int TAMANHO_V2 = 50000; const unsigned long int TAMANHO_V3 = 1000000;
...
-
1 2 3 4 5 6 7 8
#include <stdio.h> #include <stdlib.h> #include <time.h> /* DECLARAÇÃO DAS DIMENSÕES DOS VETORES A ORDENAR */ const unsigned int TAMANHO_V1 = 1000; const unsigned int TAMANHO_V2 = 50000; const unsigned long int TAMANHO_V3 = 1000000;
...
-
1 2 3 4 5 6 7 8
#include <stdio.h> #include <stdlib.h> #include <time.h> /* DECLARAÇÃO DAS DIMENSÕES DOS VETORES A ORDENAR */ const unsigned int TAMANHO_V1 = 1000; const unsigned int TAMANHO_V2 = 50000; const unsigned long int TAMANHO_V3 = 1000000;
...
-
1 2 3 4 5 6 7 8 9
identification division. program-id. Laco. author. DTS Latin America Software. * data division. working-storage section. 01 DataSistema. 10 AnoSistema pic 9(004) value zeros. 10 MesSistema pic 9(002) value zeros.
...
-
1 2 3 4 5 6 7 8
#include <stdio.h> #include <stdlib.h> #include <time.h> /* DECLARAÇÃO DAS DIMENSÕES DOS VETORES A ORDENAR */ const unsigned int TAMANHO_V1 = 1000; const unsigned int TAMANHO_V2 = 50000; const unsigned long int TAMANHO_V3 = 1000000;
...
-
1 2 3 4 5 6 7 8 9
#include <iostream> using namespace std; int main() { int tests; //number of tests :) cin >> tests; while( tests > 0) {
...
-
1 2 3 4 5 6 7 8
#include <stdio.h> #include <stdlib.h> #include <time.h> /* DECLARAÇÃO DAS DIMENSÕES DOS VETORES A ORDENAR */ const unsigned int TAMANHO_V1 = 1000; const unsigned int TAMANHO_V2 = 50000; const unsigned long int TAMANHO_V3 = 1000000;
...
