|
|
back to boardShow all messages Hide all messagesI didn't understand the problem properly at first, i thought the sum of the flight number at one airport must be prime number. So i worte a 200 lines prog. which the judge function is so strict that it won't give an answer in 5s on the last one or two test data. Then i do the optimization work here and there , but of couse it won't work. Finally , i got AC!!!!!!!!!!! isn't it enough to simply print the first m prime numbers ? since gcd of any prime numbers is 1. > isn't it enough to simply print the first m prime numbers ? > since gcd of any prime numbers is 1. > |
|
|