|
|
back to boardHints for C programmers Posted by WA #30 22 Oct 2005 02:46 Hints: 1. You CAN declarate string as /* 200000 'a' leters in quotes */ char A[200005] = "aaaa...a"; You may not split it on strings with 65536 bytes, and print 200000 simbols in one line!!! 2. If you use 7-bits coding (lazy...) you can't use only 64 simbols, but if you compress data by any simple algo, you may use only six or seven bits per simbol, and keep first bit equal 1. Such way you will have all simbols in range [128..256], and no system simbols like 0, 26, 9, 10, 13 and so on.
PS: Now I really satisfied: AC 0.015sec 566KB PPS: I don't no anything about declarations in Pascal.. |
|
|