Submission #2802472

Source Code Expand

Copy
a,b=map(int,raw_input().split())
if a+b == 15:
    print '+'
elif a*b == 15:
    print '*'
else:
    print 'x'

Submission Info

Submission Time
Task A - F
User naoya_t
Language Python2 (2.7.6)
Score 100
Code Size 118 Byte
Status
Exec Time 11 ms
Memory 2568 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 sampleNo.txt, sampleProd.txt, sampleSum.txt, samplex.txt
All 100 / 100 sampleNo.txt, sampleProd.txt, sampleSum.txt, samplex.txt, test_10_6.txt, test_13_2.txt, test_15_1.txt, test_1_14.txt, test_1_15.txt, test_5_2.txt, test_5_3.txt, test_7_8.txt
Case Name Status Exec Time Memory
sampleNo.txt 11 ms 2568 KB
sampleProd.txt 11 ms 2568 KB
sampleSum.txt 11 ms 2568 KB
samplex.txt 11 ms 2568 KB
test_10_6.txt 11 ms 2568 KB
test_13_2.txt 11 ms 2568 KB
test_15_1.txt 11 ms 2568 KB
test_1_14.txt 11 ms 2568 KB
test_1_15.txt 11 ms 2568 KB
test_5_2.txt 11 ms 2568 KB
test_5_3.txt 11 ms 2568 KB
test_7_8.txt 11 ms 2568 KB