Submission #1719908


Source Code Expand

Copy
p -gets.to_i+2*gets.to_i

Submission Info

Submission Time
Task A - Rating Goal
User cympfh
Language Ruby (2.3.3)
Score 100
Code Size 24 Byte
Status
Exec Time 7 ms
Memory 1788 KB

Compile Error

./Main.rb:1: warning: ambiguous first argument; put parentheses or a space even after `-' operator

Judge Result

Set Name Score / Max Score Test Cases
Sample 0 / 0 s1.txt, s2.txt
All 100 / 100 in1.txt, in2.txt, in3.txt, in4.txt, in5.txt, in6.txt, s1.txt, s2.txt
Case Name Status Exec Time Memory
in1.txt 7 ms 1788 KB
in2.txt 7 ms 1788 KB
in3.txt 7 ms 1788 KB
in4.txt 7 ms 1788 KB
in5.txt 7 ms 1788 KB
in6.txt 7 ms 1788 KB
s1.txt 7 ms 1788 KB
s2.txt 7 ms 1788 KB