/ SeriousOJ /

Record Detail

Runtime Error


  
# Status Time Cost Memory Cost
#1 Runtime Error Traceback (most recent call last): File "foo.py", line 1, in <module> ValueError: not enough values to unpack (expected 2, got 1) 20ms 3.016 MiB
#2 Runtime Error Traceback (most recent call last): File "foo.py", line 1, in <module> ValueError: not enough values to unpack (expected 2, got 1) 20ms 2.953 MiB
#3 Runtime Error Traceback (most recent call last): File "foo.py", line 1, in <module> ValueError: not enough values to unpack (expected 2, got 1) 21ms 3.062 MiB

Code

a, b = map(int, input("").split())
for n in range(1, 1000):
    if a%n == 0 and b%n == 0 and n != 1:
        print(n)

Information

Submit By
Type
Submission
Problem
P1011 LCD
Contest
Brain booster - 1
Language
Python 3 (Python 3.12.3)
Submit At
2023-12-31 15:05:43
Judged At
2024-10-03 14:05:47
Judged By
Score
0
Total Time
21ms
Peak Memory
3.062 MiB