/ 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) 14ms 3.188 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) 14ms 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-11-11 03:45:59
Judged By
Score
0
Total Time
14ms
Peak Memory
3.188 MiB