Submission #1605892
Source Code Expand
inputString = gets.chomp() inputStringLength = inputString.length answeredFlag = 0 ("a".."z").each do |i| flag = 0 answerString = "" inputStringLength.times do | j | if inputString[j] == i flag = 1 end end if flag == 0 print i answeredFlag = 1 break end end if answeredFlag == 0 print "None" end
Submission Info
Submission Time | |
---|---|
Task | B - Not Found |
User | ne260086 |
Language | Ruby (2.3.3) |
Score | 200 |
Code Size | 360 Byte |
Status | AC |
Exec Time | 478 ms |
Memory | 1916 KB |
Compile Error
./Main.rb:8: warning: assigned but unused variable - answerString
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 200 / 200 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample1.txt, sample2.txt, sample3.txt |
All | 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 | AC | 8 ms | 1788 KB |
2.txt | AC | 12 ms | 1788 KB |
3.txt | AC | 37 ms | 1788 KB |
4.txt | AC | 44 ms | 1916 KB |
5.txt | AC | 26 ms | 1916 KB |
6.txt | AC | 460 ms | 1916 KB |
7.txt | AC | 140 ms | 1916 KB |
8.txt | AC | 478 ms | 1916 KB |
9.txt | AC | 117 ms | 1916 KB |
sample1.txt | AC | 7 ms | 1788 KB |
sample2.txt | AC | 7 ms | 1788 KB |
sample3.txt | AC | 7 ms | 1788 KB |