Submission #3445738

Source Code Expand

Copy
{n=$1;for(i=111;i<=999;i+=111)if(n<=i){print i;exit}}

Submission Info

Submission Time
Task B - AtCoder Beginner Contest 111
User naoya_t
Language Awk (mawk 1.3.3)
Score 200
Code Size 53 Byte
Status
Exec Time 9 ms
Memory 636 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 sample1.txt, sample2.txt, sample3.txt
All 200 / 200 sample1.txt, sample2.txt, sample3.txt, 1.txt, 2.txt, 3.txt, 4.txt, 5.txt, 6.txt, 7.txt, 8.txt, 9.txt, sample1.txt, sample2.txt, sample3.txt
Case Name Status Exec Time Memory
1.txt 9 ms 636 KB
2.txt 1 ms 256 KB
3.txt 1 ms 256 KB
4.txt 1 ms 256 KB
5.txt 1 ms 256 KB
6.txt 1 ms 256 KB
7.txt 1 ms 256 KB
8.txt 1 ms 256 KB
9.txt 1 ms 256 KB
sample1.txt 1 ms 256 KB
sample2.txt 1 ms 256 KB
sample3.txt 1 ms 256 KB