Submission #9961813


Source Code Expand

function main()
  
  (T,A,B,C,D) = map(x -> parse(Int,readline()))
  
  if T >= A+B
    println(B+D)
  elseif T >= C
    println(D)
  elseif T >= A
    println(B)
  else
    println(0)
  end
  
end

main()

Submission Info

Submission Time
Task A - Two Problems
User Harlequinade
Language Julia (0.5.0)
Score 0
Code Size 221 Byte
Status RE
Exec Time 1321 ms
Memory 160488 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 100
Status
RE × 3
RE × 13
Set Name Test Cases
Sample s1.txt, s2.txt, s3.txt
All 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, 07.txt, 08.txt, 09.txt, 10.txt, s1.txt, s2.txt, s3.txt
Case Name Status Exec Time Memory
01.txt RE 1321 ms 160488 KB
02.txt RE 1202 ms 140664 KB
03.txt RE 1204 ms 140832 KB
04.txt RE 1198 ms 146948 KB
05.txt RE 1194 ms 140556 KB
06.txt RE 1205 ms 141124 KB
07.txt RE 1202 ms 140872 KB
08.txt RE 1196 ms 141336 KB
09.txt RE 1206 ms 142916 KB
10.txt RE 1201 ms 140772 KB
s1.txt RE 1193 ms 141020 KB
s2.txt RE 1197 ms 141208 KB
s3.txt RE 1200 ms 141356 KB