ENG  RUSTimus 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 1024. Permutations

why WA !! i use GCD only plzzzzz help me!
Posted by Pradeep Muthukrishnan 6 Jun 2004 18:28
[code deleted]

Edited by moderator 04.12.2019 21:09
Re: why WA !! i use GCD only plzzzzz help me!
Posted by Yosif Yosifov 6 Jun 2004 19:09
#include<iostream>
#define MAX 1001  // see here
[code deleted]
long long int ord[MAX],arr[MAX]; // see here
[code deleted]

Edited by moderator 04.12.2019 21:10