dimanche 1 mars 2020

It cannot pass all the test cases https://ift.tt/2TvOMoz

includeusing namespace std;int main(){int n,k,q;cin>>n>>k>>q;int ar[n];for(int i=0;i>ar[i];}while(k-){int x=ar[n-1];for(int i=n-2;i>=0;i--){ar[i+1]=ar[i];}ar[0]=x;}for(int i=0;i>m;cout<

Aucun commentaire:

Enregistrer un commentaire