1 2 3 4 5 6 7 8 9 10 11 12 | n=5; r=n%3; if (r == 0) System.out.println(“zero”); else if (r ==1) System.out.println(“one”); else if (r == 2) System.out.println(“two”); else System.out.println(“three”); |
bj01OwpyPW4lMzsKaWYgKHIgPT0gMCkKU3lzdGVtLm91dC5wcmludGxuKOKAnHplcm/igJ0pOwplbHNlCmlmIChyID09MSkgClN5c3RlbS5vdXQucHJpbnRsbijigJxvbmXigJ0pOwplbHNlCmlmIChyID09IDIpClN5c3RlbS5vdXQucHJpbnRsbijigJx0d2/igJ0pOwplbHNlCiAgICBTeXN0ZW0ub3V0LnByaW50bG4o4oCcdGhyZWXigJ0pOw==
-
upload with new input
-
result: Runtime error time: 0.28s memory: 213248 kB signal: -1
js: "prog.js", line 4: illegal character js: System.out.println(“zero”); js: ...................^ js: "prog.js", line 4: syntax error js: System.out.println(“zero”); js: ...................^ js: "prog.js", line 4: illegal character js: System.out.println(“zero”); js: ........................^ js: "prog.js", line 4: syntax error js: System.out.println(“zero”); js: .........................^ js: "prog.js", line 5: syntax error js: else js: ...^ js: "prog.js", line 7: illegal character js: System.out.println(“one”); js: ...................^ js: "prog.js", line 7: syntax error js: System.out.println(“one”); js: ...................^ js: "prog.js", line 7: illegal character js: System.out.println(“one”); js: .......................^ js: "prog.js", line 7: syntax error js: System.out.println(“one”); js: ........................^ js: "prog.js", line 8: syntax error js: else js: ...^ js: "prog.js", line 10: illegal character js: System.out.println(“two”); js: ...................^ js: "prog.js", line 10: syntax error js: System.out.println(“two”); js: ...................^ js: "prog.js", line 10: illegal character js: System.out.println(“two”); js: .......................^ js: "prog.js", line 10: syntax error js: System.out.println(“two”); js: ........................^ js: "prog.js", line 11: syntax error js: else js: ...^ js: "prog.js", line 12: syntax error js: System.out.println(“three”); js: ...........^ js: "prog.js", line 12: illegal character js: System.out.println(“three”); js: .......................^ js: "prog.js", line 12: illegal character js: System.out.println(“three”); js: .............................^ js: "prog.js", line 12: syntax error js: System.out.println(“three”); js: .............................^ js: "prog.js", line 1: Compilation produced 19 syntax errors.



