in my accepted solution
1. valid isbn may contain white space
2. it should be 10 digit ( X is counted as digit if there is any )
3. if there is any X it must be occurs once and in the tenth position
[/b]
Search found 120 matches
- Tue Dec 02, 2003 9:56 am
- Forum: Volume 3 (300-399)
- Topic: 333 - Recognizing Good ISBNs
- Replies: 166
- Views: 36115
- Sun Nov 30, 2003 2:04 pm
- Forum: Volume 4 (400-499)
- Topic: 400 - Unix ls
- Replies: 93
- Views: 26408
- Fri Nov 28, 2003 7:22 am
- Forum: Off topic (General chit-chat)
- Topic: What do you like to eat?
- Replies: 20
- Views: 69800
- Tue Nov 25, 2003 1:09 pm
- Forum: Volume 6 (600-699)
- Topic: 621 - Secret Research
- Replies: 45
- Views: 25404
sample input:
output should be:
hint : use if else so not every if will executed
Code: Select all
1
19000035
output should be:
Code: Select all
-
hint : use if else so not every if will executed
- Tue Nov 25, 2003 8:40 am
- Forum: Volume 1 (100-199)
- Topic: 113 - Power of Cryptography
- Replies: 163
- Views: 37389
- Mon Nov 24, 2003 12:18 pm
- Forum: Volume 4 (400-499)
- Topic: 400 - Unix ls
- Replies: 93
- Views: 26408
I'm using C language. I tried to looked back in previous post (waaay back), apparently someone already posted AC source code here, he use some formula to indicated terminating condition. I haven't tried that, but in my source code everytime I print I increment the counter and I check if counter==inp...
- Sun Nov 23, 2003 4:42 pm
- Forum: Volume 4 (400-499)
- Topic: 400 - Unix ls
- Replies: 93
- Views: 26408
400 unix is WA
looked easy sounded easy but WA...
any trick here??
I'll send my source code or post it here if it's
necessary, although I prefer sending my source
code to anyone who wants to help
any trick here??
I'll send my source code or post it here if it's
necessary, although I prefer sending my source
code to anyone who wants to help
- Sun Nov 23, 2003 8:45 am
- Forum: Off topic (General chit-chat)
- Topic: Acmbeginner.tk - a new web site for the acm programmer.
- Replies: 8
- Views: 6129
Here's a thought by mailing list that I joined: how about uploading exe on to some helping site so that anyone that didn't get Ac can compare the exe themself. beside..., downloading exe is not cheating like downloading source code right????? The exe that you download itself won't be able to sent to...
- Sun Nov 23, 2003 8:10 am
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 289774
- Sat Nov 22, 2003 12:50 pm
- Forum: Volume 3 (300-399)
- Topic: 347 - Run
- Replies: 20
- Views: 8308
347 - Run
got TLE after rejudge.
do I have to precalculate all of the runaround number???
any hint???
do I have to precalculate all of the runaround number???
any hint???
- Sat Nov 22, 2003 12:39 pm
- Forum: Volume 6 (600-699)
- Topic: 602 - What Day Is It?
- Replies: 56
- Views: 26953
- Fri Nov 21, 2003 7:54 am
- Forum: Volume 6 (600-699)
- Topic: 602 - What Day Is It?
- Replies: 56
- Views: 26953
- Sun Nov 16, 2003 7:02 pm
- Forum: C
- Topic: itoa function
- Replies: 5
- Views: 3966
in some problem I need to convert int to string, and I always use sprintf to do that. but in several cases I got Time Limit Exceeded. of course the main problem may not lie on the sprintf, but rather the algo that I'm using. but I want to know if there's any other way that faster than sprintf to con...
- Sun Nov 16, 2003 6:55 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10222 - Decode the Mad man
- Replies: 30
- Views: 14802
- Sat Nov 15, 2003 9:04 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10171 - Meeting Prof. Miguel...
- Replies: 68
- Views: 32424
CUT.......
Got Ac now.
I failed in this test case :
the answer is obvious so I wouldn't tell.
ciaoo...
Got Ac now.
I failed in this test case :
Code: Select all
4
Y U A B 3
M B B A 0
Y B C A 10
M U B D 1
A B
ciaoo...