結果
| 問題 | 
                            No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
                             | 
                    
| ユーザー | 
                             | 
                    
| 提出日時 | 2023-04-06 12:53:27 | 
| 言語 | Kotlin  (2.1.0)  | 
                    
| 結果 | 
                             
                                RE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 140 bytes | 
| コンパイル時間 | 12,483 ms | 
| コンパイル使用メモリ | 426,356 KB | 
| 実行使用メモリ | 107,424 KB | 
| 最終ジャッジ日時 | 2024-10-02 12:13:02 | 
| 合計ジャッジ時間 | 22,120 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 RE * 1 | 
| other | AC * 9 RE * 6 | 
コンパイルメッセージ
Main.kt:1:10: warning: parameter 'args' is never used
fun main(args: Array<String>){
         ^
Main.kt:2:6: warning: variable 'n' is never used
	val n = readLine()!!.toInt()
     ^
            
            ソースコード
fun main(args: Array<String>){
	val n = readLine()!!.toInt()
	val array = readLine()!!.split(" ").map { it.toInt() }
	println(array.sum())
}