Coincidental plagiarism match on 1395B

Правка en1, от algmyr, 2020-08-14 12:45:36

I got a system message about my solution (89664275)

w,h,sx,sy = map(int,input().split())

for x in range(sx, w+1):
    for y in range(sy, h+1):
        print(x,y)
    for y in range(1, sy):
        print(x,y)
    sy = y
for x in range(1, sx):
    for y in range(sy, h+1):
        print(x,y)
    for y in range(1, sy):
        print(x,y)
    sy = y

coinciding with antonkasko's solution (89673754)

n,m,x,y=map(int,input().split())
for yy in range(y,m+1):
    for xx in range(x,n+1):
        print(xx,yy)
    for xx in range(1,x):
        print(xx,yy)
    x=xx
for yy in range(1,y):
    for xx in range(x,n+1):
        print(xx,yy)
    for xx in range(1,x):
        print(xx,yy)
    x=xx

Clearly it does, but it has all to do with the task being trivial and the approach taken being one of the least resistance ones (and this being python where you don't have a gazillion lines of template to obscure any potential similarities).

I guess to make it clear, I do not use any form of online IDE. All code I write is written locally on my machine, and has not left my machine other than through uploading my submission to the contest. So any similarities should be completely coincidental.

Pinging MikeMirzayanov, 300iq and Xiejiadong.

Теги #plagiarism

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский algmyr 2020-08-14 12:45:36 1517 Initial revision (published)