結果

問題 No.5000 特殊ジャッジテスト(テスト用)
ユーザー daomain
提出日時 2016-06-07 14:14:40
言語 Scala(Beta)
(3.8.2)
コンパイル:
scalac _filename_
実行:
/usr/bin/scala_run _class_
結果
CE  
(最新)
AC  
(最初)
実行時間 -
コード長 215 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 5,767 ms
コンパイル使用メモリ 218,576 KB
スコア 0
最終ジャッジ日時 2026-03-09 14:44:24
合計ジャッジ時間 6,131 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。

コンパイルメッセージ
-- Error: Main.scala:7:1 -------------------------------------------------------
7 |	def main(args: Array[String]): Unit = {
  |	^
  |	Incompatible combinations of tabs and spaces in indentation prefixes.
  |	Previous indent : 2 spaces
  |	Latest indent   : 1 tab
-- Error: Main.scala:9:2 -------------------------------------------------------
9 |		println(0 + " " + sc.nextInt)	
  |		^
  |		Incompatible combinations of tabs and spaces in indentation prefixes.
  |		Previous indent : 4 spaces
  |		Latest indent   : 2 tabs
-- Error: Main.scala:11:1 ------------------------------------------------------
11 |	}
   |	^
   |	Incompatible combinations of tabs and spaces in indentation prefixes.
   |	Previous indent : 4 spaces
   |	Latest indent   : 1 tab
3 errors found

ソースコード

diff #
raw source code

import java.util.Scanner
import scala.util.control.Breaks


object Main {
  val b = new Breaks
	def main(args: Array[String]): Unit = {
    val sc = new Scanner(System.in);
		println(0 + " " + sc.nextInt)	
			
	}

}
0