April Fools' Day Contest 3 P10 - esreveR yarrA

View as PDF

Submit solution


Points: 0
Time limit: 1.0s
Memory limit: 1G

Authors:
Problem type
5 4 3 2 1

tuptuO elpmaS

1 2 3 4 5
5

tupnI elpmaS

.redro esrever ni yarra eht ,sregetni detarapes-ecaps N gniniatnoc enil eno tuptuO


noitacificepS tuptuO

.sregetni fo yarra eht ,{}_Na,\dots,{}_2a,{}_1a ,sregetni detarapes-ecaps N sniatnoc enil txen ehT

.yarra eht fo htgnel eht ,N ,regetni eno sniatnoc enil tsrif ehT


noitacificepS tupnI

{}^901 \le {}_ia \le 1
{}^501\times2 \le N \le 1


stniartsnoC

.redro esrever ni ti tuptuo ,{}_Na,\dots,{}_2a,{}_1a ,sregetni N fo yarra na neviG


Comments

There are no comments at the moment.