By cadmiumky, history, 2 months ago,

Hello,

I would like to put GIFs in statements (in polygon), but attaching the GIF directly (and then inserting it like a picture) doesn't do the job. Does anybody know how to do this? please don't downvote me, I'm a very boomer

• +35

 » 2 months ago, # |   +25 Isn't attaching GIF distracting for the problem solver?
•  » » 2 months ago, # ^ |   +18 I sometimes use GIFs to explain the sample test cases. It's much easier to explain and more pleasing to the eyes (at least I hope). You can see it in action here and here
•  » » » 2 months ago, # ^ |   +7 Also here
•  » » » 2 months ago, # ^ | ← Rev. 5 →   +8 Frankly it is quite horribleIf you want to use pictures, attach them frame by frame, animated pictures look cute but are of little help.Static frame by frame illustrations would make the statements above betterI liked the illustrations in the last D problem https://codeforces.com/problemset/problem/1609/D and I appreciate that they're NOT animated
•  » » » » 2 months ago, # ^ |   +3 The example you gave doesn't really work in my opinion. It's written in the statement that each $i$ is an independent problem, so it doesn't make sense to animate them. I still think there are cases where GIFs are better but you're right. Sometimes it's better to keep the pictures frame by frame. I will consider them next time. Thanks
•  » » » » 2 months ago, # ^ |   +10 Reason I find gifs annoying : There is no way to control them and you have to wait for the loop to complete if you're looking for something.
 » 2 months ago, # |   +7 Hey boomer!
 » 2 months ago, # |   +57 Maybe you can use 1508D - Swap Pass as an example. It looks like they use this: \begin{center} \includegraphics{sample1.png} \end{center} Where sample1.png is an apng (animated png) file. You can convert gifs to apng here.