ENG
RUS
Timus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board
Discussion of Problem
1370
. Magician
accepted c
Posted by
Sunnat
12 Apr 2012 17:54
#include<stdio.h>
main()
{
int N,M,a[1000],i;
scanf("%i %i",&N,&M);
for(i=0;i<N;i++)scanf("%i",&a[i]);
for(i=M;i<M+10;i++)printf("%i",a[i%N]);
}
© 2000–2024
Timus Online Judge Team
. All rights reserved.