Hide

Problem A
Reiknirit Evklíðs

Accepted submissions to this problem will be granted a score of 10
Languages en is

Þú færð gefnar jákvæðar heiltölur a,b og átt að prenta stærsta samdeili a og b.

Inntak

Fyrsta og eina lína inntaksins inniheldur jákvæðar heiltölur a,b1018, aðskilin með bili.

Úttak

Prentið stærsta samdeili a og b.

Sample Input 1 Sample Output 1
49 91
7
Hide

Please log in to submit a solution to this problem

Log in