| Title |
User |
Message |
Place |
Date Posted |
| Also |
StealthAdept |
You can also try reading individual characters and putting them at the end of a string until you get to a space, at which point you read an integer. |
ccc08s1 |
Nov 25, 2008 - 4:08:52 am UTC |
| yep. |
bleung91 |
read in the string and parse it manually. i.e. separate the string and number yourself. the reason you can't do something like this (It's been while since I coded in pascal), readln(city,temperatur... |
ccc08s1 |
Nov 25, 2008 - 3:59:19 am UTC |
| is there's a way to do it in Turbo Pascal? |
zhxl0903 |
I tried to read in 2 variables of different types continuously in Pascal, but it only gave me errors of ... lol |
ccc08s1 |
Nov 25, 2008 - 3:46:42 am UTC |
| Re: help with acc num |
jargon |
just output "1" |
p156ex14 |
Nov 25, 2008 - 2:03:17 am UTC |
| help with acc num |
pascaler |
u know where u output acc #,what if the acc number is "1" in the output should we just output 1? or 00001? help plz |
p156ex14 |
Nov 25, 2008 - 2:02:39 am UTC |
| ... |
dAedaL |
oooh i get it I was looking at the wrong starting point for "G then LGLG repeated" (4,1 instead of 2,1). ok i get it :) |
wc01p1 |
Nov 24, 2008 - 9:31:00 pm UTC |
| It depends on where you are, not what letter it is |
SourSpinach |
Read the note more carefully, it explains the difference between "M then RWVUQM repeated" and "MRWVUQ repeated". |
wc01p1 |
Nov 24, 2008 - 6:34:19 pm UTC |
| Timing |
hansonw1 |
I've updated the time accuracy to be closer to "real" time. In most cases you won't see a difference. TLE programs will not become AC, or vice versa. |
General |
Nov 24, 2008 - 3:30:37 am UTC |
| Re: SourSpinach |
bleung91 |
no it's 2 seconds per test case, so my program could thereotically take 10 seconds. however, I can't take 3 secs on 1 test case and 1 on another. |
primes2 |
Nov 24, 2008 - 3:11:07 am UTC |
| SourSpinach |
zerglingrush |
Didn't SourSpinach exceed time limit? |
primes2 |
Nov 24, 2008 - 2:55:43 am UTC |