• Tidak ada hasil yang ditemukan

Waktu : 1s Memori : 16 MB

Test case benar: 0 dari 5

Bahasa : Scheme Nilai : 0

Uji Status : CE Hasil Uji : RTE

Soal : Hello World! Waktu : 1s

Memori : 16 MB

Test case benar: 5 dari 5

Bahasa : Scheme Nilai : 100 Uji Status : AC Hasil Uji : AC (define (hello n) (do ((i 1 (+ i 1))) (> i n) (display "Hello World!") (newline) ) ) (hello (rad)) (define (hello n) (do ((i 1 (+ i 1))) ((> i n)) (display "Hello World!") (newline)

) )

(hello (read)) Soal : Hello World!

Waktu : 1s Memori : 16 MB

Test case benar: 0 dari 5

Bahasa : Scheme Nilai : 0

Uji Status : RTE Hasil Uji : RTE

Soal : Hello World! Waktu : 1s

Memori : 16 MB

Test case benar: 5 dari 5

Bahasa : Scheme Nilai : 100 Uji Status : AC Hasil Uji : AC (defin (hello n) (do ((i 1 (+ i 1))) (> i n) (display "Hello World!") (newline) ) ) (hello (read)) (define (hello n) (do ((i 1 (+ i 1))) ((> i n)) (display "Hello World!") (newline)

) )

(hello (read)) Soal : Hello World!

Waktu : 1s Memori : 16 MB

Test case benar: 0 dari 5

Bahasa : Scheme Nilai : 0

Uji Status : TLE Hasil Uji : TLE

Soal : Hello World! Waktu : 1s

Memori : 16 MB

Test case benar: 5 dari 5

Bahasa : Scheme Nilai : 100 Uji Status : AC Hasil Uji : AC (define (hello n) (do ((i 1 (+ i 1))) (> i n) (display "Hello World!") (newline) ) ) (hello (read)) (define (hello n) (do ((i 1 (+ i 1))) ((> i n)) (display "Hello World!") (newline)

) )

(hello (read)) Soal : Hello World!

Waktu : 1s Memori : 16 MB

Test case benar: 1 dari 5

Bahasa : Scheme Nilai : 20 Uji Status : WA Hasil Uji : WA

Soal : Hello World! Waktu : 1s

Memori : 16 MB

Test case benar: 5 dari 5

Bahasa : Scheme Nilai : 100 Uji Status : AC Hasil Uji : AC (define (hello n) (do ((i 1 (+ i 2))) ((< i n)) (display "Hello World!") (newline) ) ) (hello (read)) (define (hello n) (do ((i 1 (+ i 1))) ((> i n)) (display "Hello World!") (newline)

) )

(hello (read)) Soal : Hello World!

Waktu : 1s Memori : 0.01 MB

Test case benar: 0 dari 5

Bahasa : Scheme Nilai : 0

Uji Status : MLE Hasil Uji : MLE (define (hello n)

(do ((i 1 (+ i 2))) ((< i n)) (display "Hello World!") (newline)

) )

24

Lampiran 7 Lanjutan Soal : Hello World! Waktu : 1s

Memori : 16 MB

Test case benar: 0 dari 5

Bahasa : Java Nilai : 0 Uji Status : CE Hasil Uji : CE

Soal : Hello World! Waktu : 1s

Memori : 16 MB

Test case benar: 5 dari 5

Bahasa : Java Nilai : 100 Uji Status : AC Hasil Uji : AC import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main {

public static void main(String[]

args) {

String input="";

BufferedReader dataIn = new

BufferedReader(new InputStreamReader(System.)); try{ input = dataIn.readLine(); } catch(IOException e) { System.out.println("Error!"); } int n = Integer.parseInt(input); for (int i = 0; i < n; i++){ System.out.println("Hello World!"); } }}

import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main {

public static void main(String[] args) {

String input="";

BufferedReader dataIn = new BufferedReader(new InputStreamReader(System.in)); try{ input= dataIn.readLine(); } catch(IOException e) { System.out.println("Error!"); } int n = Integer.parseInt(input); for (int i = 0; i < n; i++){ System.out.println("Hello World!"); } } }

Soal : Hello World! Waktu : 1s

Memori : 16 MB

Test case benar: 0 dari 5

Bahasa : Java Nilai : 0 Uji Status : TLE Hasil Uji : TLE

Soal : Hello World! Waktu : 1s

Memori : 16 MB

Test case benar: 5 dari 5

Bahasa : Java Nilai : 100 Uji Status : AC Hasil Uji : AC import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main {

public static void main(String[]

args) {

String input="";

BufferedReader dataIn = new

BufferedReader(new InputStreamReader(System.in)); try{ input = dataIn.readLine(); } catch(IOException e) { System.out.println("Error!"); } int n = Integer.parseInt(input); for (int i = 0; ; i++){ System.out.println("Hello World!"); } } }

import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main {

public static void main(String[] args) {

String input="";

BufferedReader dataIn = new BufferedReader(new InputStreamReader(System.in)); try{ input= dataIn.readLine(); } catch(IOException e) { System.out.println("Error!"); } int n = Integer.parseInt(input); for (int i = 0; i < n; i++){ System.out.println("Hello World!"); }}}

Lampiran 7 Lanjutan Soal : Jumlah Elemen Baris Matriks Segi Waktu : 1s Memori : 16 MB

Test case benar: 0 dari 5

Bahasa : Java Nilai : 0 Uji Status : RTE Hasil Uji : RTE

Soal : Jumlah Elemen Baris Matriks Segi Waktu : 1s Memori : 16 MB

Test case benar: 5 dari 5

Bahasa : Java Nilai : 100 Uji Status : AC Hasil Uji : AC import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader;

public class Main {

public static void main(String[] args) {

String inp="";

BufferedReader dataIn = new BufferedReader(new InputStreamReader(System.in)); Integer[][] A =new Integer[100][100]; int n; try{ inp = dataIn.readLine(); n = Integer.parseInt(inp); for(int i=0;i<n;i++){ int tot=0; for(int j=0;j<n;j++){ inp = dataIn.readLine(); A[i][j] = Integer.parseInt(inp); tot+=A[i][j]; } A[i][i]=tot; } for(int i=0;i<n;i++){ for(int j=0;j<n;j++){ if(i==j) System.out.format("%d",A[i][j]); else System.out.print("0"); if(j<(n-1)) System.out.print(" "); else System.out.println(); } } } catch(IOException e) { System.out.println("Error!"); } } } import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main {

public static void main(String[] args) {

String inp=""; String delim="[ ]+"; String[] temp;

BufferedReader dataIn = new BufferedReader(new InputStreamReader(System.in)); Integer[][] A =new Integer[100][100]; try { inp = dataIn.readLine(); int n = Integer.parseInt(inp); for(int i=0;i<n;i++){ int tot=0; inp = dataIn.readLine(); temp = inp.split(delim); for(int j=0;j<n;j++){ A[i][j] = Integer.parseInt(temp[j]); tot+=A[i][j]; } A[i][i]=tot; } for(int i=0;i<n;i++){ for(int j=0;j<n;j++){ if(i==j) System.out.format("%d",A[i][j]); else System.out.print("0"); if(j<(n-1)) System.out.print(" "); else System.out.println(); } } } catch(IOException e) { System.out.println("Error!"); } } }

26

Lampiran 7 Lanjutan Soal : Hello World! Waktu : 1s

Memori : 16 MB

Test case benar: 1 dari 5

Bahasa : Java Nilai : 20 Uji Status : WA Hasil Uji : WA

Soal : Hello World! Waktu : 1s

Memori : 16 MB

Test case benar: 5 dari 5

Bahasa : Java Nilai : 100 Uji Status : AC Hasil Uji : AC import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main {

public static void main(String[]

args) {

String input="";

BufferedReader dataIn = new

BufferedReader(new InputStreamReader(System.in)); try{ input = dataIn.readLine(); } catch(IOException e) { System.out.println("Error!"); } int n = Integer.parseInt(input); for (int i = 0; i<n; i++){ System.out.println("Hello World!"); i++; } } } import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main {

public static void main(String[] args) {

String input="";

BufferedReader dataIn = new BufferedReader(new InputStreamReader(System.in)); try{ input= dataIn.readLine(); } catch(IOException e) { System.out.println("Error!"); } int n = Integer.parseInt(input); for (int i = 0; i < n; i++){ System.out.println("Hello World!"); }}}

Soal : Hello World! Waktu : 1s

Memori : 9 MB

Test case benar: 0 dari 5

Bahasa : Java Nilai : 0

Uji Status : MLE Hasil Uji : MLE import java.io.BufferedReader;

import java.io.IOException; import java.io.InputStreamReader; public class Main {

public static void main(String[]

args) {

String input="";

BufferedReader dataIn = new

BufferedReader(new InputStreamReader(System.in)); try{ input = dataIn.readLine(); } catch(IOException e) { System.out.println("Error!"); } int n = Integer.parseInt(input); if(n > 0 && n < 100){

for (int i = 0; i<n; i++){ System.out.println("Hello World!"); } } } }

Soal : Hello World! Waktu : 1s

Memori : 16 MB

Test case benar: 0 dari 5

Bahasa : PHP Nilai : 0 Uji Status : CE Hasil Uji : RTE

Soal : Hello World! Waktu : 1s

Memori : 16 MB

Test case benar: 5 dari 5

Bahasa : PHP Nilai : 100 Uji Status : AC Hasil Uji : AC <?php $n = fgets(STIN); for($i=1; $i <= $; $i++){ print "Hello World!\n"; } exit(); ?> <?php $n = fgets(STDIN); for($i=1; $i <= $n; $i++){ print "Hello World!\n"; }

exit(0); ?>

Lampiran 7 Lanjutan Soal : Hello World! Waktu : 1s

Memori : 16 MB

Test case benar: 0 dari 5

Bahasa : PHP Nilai : 0 Uji Status : RTE Hasil Uji : RTE

Soal : Hello World! Waktu : 1s

Memori : 16 MB

Test case benar: 5 dari 5

Bahasa : PHP Nilai : 100 Uji Status : AC Hasil Uji : AC <?php $n = fgets(STDIN); for($i=1; $i <= $n; $i++){ print "Hello World!\n"; exit(); ?> <?php $n = fgets(STDIN); for($i=1; $i <= $n; $i++){ print "Hello World!\n"; }

exit(0); ?>

Soal : Hello World! Waktu : 1s

Memori : 16 MB

Test case benar: 0 dari 5

Bahasa : PHP Nilai : 0 Uji Status : TLE Hasil Uji : TLE

Soal : Hello World! Waktu : 1s

Memori : 16 MB

Test case benar: 5 dari 5

Bahasa : PHP Nilai : 100 Uji Status : AC Hasil Uji : AC <?php $n = fgets(STDIN); for($i=1; ; $i++){

print "Hello World!\n"; } exit(0); ?> <?php $n = fgets(STDIN); for($i=1; $i <= $n; $i++){ print "Hello World!\n"; }

exit(0); ?>

Soal : Hello World! Waktu : 1s

Memori : 16 MB

Test case benar: 1 dari 5

Bahasa : PHP Nilai : 20 Uji Status : WA Hasil Uji : WA

Soal : Hello World! Waktu : 1s

Memori : 16 MB

Test case benar: 5 dari 5

Bahasa : PHP Nilai : 100 Uji Status : AC Hasil Uji : AC <?php $n = fgets(STDIN); for($i=1; ; $i++){

print "Hello World!\n"; $i++; } exit(0); ?> <?php $n = fgets(STDIN); for($i=1; $i <= $n; $i++){ print "Hello World!\n"; }

exit(0); ?>

Soal : Hello World! Waktu : 1s

Memori : 0.01 MB

Test case benar: 0 dari 5

Bahasa : PHP Nilai : 0

Uji Status : MLE Hasil Uji : MLE <?php

$n = fgets(STDIN);

for($i=1; $i <= $n; $i++){ print "Hello World!\n"; }

exit(0); ?>

Soal : Hello World! Waktu : 1s

Memori : 16 MB

Test case benar: 0 dari 5

Bahasa : Perl Nilai : 0 Uji Status : CE Hasil Uji : RTE

Soal : Hello World! Waktu : 1s

Memori : 16 MB

Test case benar: 5 dari 5

Bahasa : Perl Nilai : 100 Uji Status : AC Hasil Uji : AC #!/usr/bin/perl $n=<;

for ($i=1;$i<$n ; $i++) { print "Hello World!\n";}

#!/usr/bin/perl $n=<>;

for ($i=1;$i<$n ; $i++)

28

Lampiran 7 Lanjutan Soal : Hello World! Waktu : 1s

Memori : 16 MB

Test case benar: 0 dari 5

Bahasa : Perl Nilai : 0 Uji Status : RTE Hasil Uji : RTE

Soal : Hello World! Waktu : 1s

Memori : 16 MB

Test case benar: 5 dari 5

Bahasa : Perl Nilai : 100 Uji Status : AC Hasil Uji : AC #!/usr/bin/perl $n=<>;

for ($i=1;$i<$n ; $i++) { print "Hello World!\n";

#!/usr/bin/perl $n=<>;

for ($i=1;$i<$n ; $i++)

{ print "Hello World!\n"; } Soal : Hello World!

Waktu : 1s Memori : 16 MB

Test case benar: 0 dari 5

Bahasa : Perl Nilai : 0 Uji Status : TLE Hasil Uji : TLE

Soal : Hello World! Waktu : 1s

Memori : 16 MB

Test case benar: 5 dari 5

Bahasa : Perl Nilai : 100 Uji Status : AC Hasil Uji : AC #!/usr/bin/perl $n=<>;

for ($i=1; ; $i++)

{ print "Hello World!\n";}

#!/usr/bin/perl $n=<>;

for ($i=1;$i<$n ; $i++)

{ print "Hello World!\n"; } Soal : Hello World!

Waktu : 1s Memori : 16 MB

Test case benar: 1 dari 5

Bahasa : Perl Nilai : 20 Uji Status : WA Hasil Uji : WA

Soal : Hello World! Waktu : 1s

Memori : 16 MB

Test case benar: 5 dari 5

Bahasa : Perl Nilai : 100 Uji Status : AC Hasil Uji : AC #!/usr/bin/perl $n=<>;

for ($i=1; $i<$n ; $i++)

{ print "Hello World!\n";$i++}

#!/usr/bin/perl $n=<>;

for ($i=1;$i<$n ; $i++)

{ print "Hello World!\n"; } Soal : Hello World!

Waktu : 1s Memori : 0.01 MB

Test case benar: 0 dari 5

Bahasa : Perl Nilai : 0

Uji Status : MLE Hasil Uji : MLE #!/usr/bin/perl

$n=<>;

for ($i=1; $i<$n ; $i++)

Dokumen terkait