This preview shows page 1. Sign up to view the full content.
Unformatted text preview: inc(p); end; q:=t+n div p+ord(n mod p<>0)-1; str(q,st); writeln(st[(n-1) mod p +1]); end; begin main; end....
View Full Document
This note was uploaded on 02/21/2011 for the course CS 001 taught by Professor 001 during the Spring '11 term at Shandong University.
- Spring '11