Submission #50332109
Source Code Expand
fun main() { val n = readln().toInt() val sb = StringBuilder() for(i in 0 until n * 2 + 1) { if(i % 2 == 0) { sb.append(1) } else { sb.append(0) } } println(sb) }
Submission Info
Submission Time | |
---|---|
Task | A - Print 341 |
User | dhirabayashi |
Language | Kotlin (Kotlin/JVM 1.8.20) |
Score | 100 |
Code Size | 245 Byte |
Status | AC |
Exec Time | 73 ms |
Memory | 37532 KiB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | example0.txt, example1.txt, example2.txt |
All | 000.txt, 001.txt, 002.txt, 003.txt, 004.txt, 005.txt, 006.txt, 007.txt, 008.txt, example0.txt, example1.txt, example2.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
000.txt | AC | 42 ms | 37384 KiB |
001.txt | AC | 42 ms | 37344 KiB |
002.txt | AC | 42 ms | 37344 KiB |
003.txt | AC | 42 ms | 37232 KiB |
004.txt | AC | 42 ms | 37380 KiB |
005.txt | AC | 41 ms | 37480 KiB |
006.txt | AC | 73 ms | 37392 KiB |
007.txt | AC | 42 ms | 37476 KiB |
008.txt | AC | 41 ms | 37476 KiB |
example0.txt | AC | 42 ms | 37532 KiB |
example1.txt | AC | 42 ms | 37340 KiB |
example2.txt | AC | 41 ms | 37224 KiB |