Hello
I have Consider the multiple input in my code.
Thax
Search found 3 matches
- Wed Dec 17, 2003 11:22 am
- Forum: Volume 4 (400-499)
- Topic: 482 - Permutation Arrays
- Replies: 159
- Views: 53454
- Mon Dec 15, 2003 12:09 pm
- Forum: Volume 4 (400-499)
- Topic: 482 - Permutation Arrays
- Replies: 159
- Views: 53454
482-Permutation Array WA
Hello every1
To solve this i took two input in string. Using sscanf i pick the int or float number. The float number is kept in a structure. Sort the float number than print it according to problem.
Is the algorithm correct?
#define max 100000
struct num // for floating number
{
char S[100 ...
To solve this i took two input in string. Using sscanf i pick the int or float number. The float number is kept in a structure. Sort the float number than print it according to problem.
Is the algorithm correct?
#define max 100000
struct num // for floating number
{
char S[100 ...
- Thu Nov 27, 2003 10:46 am
- Forum: Volume 3 (300-399)
- Topic: 333 - Recognizing Good ISBNs
- Replies: 166
- Views: 40723
333 - Always WA
Hi
I get WA just now. :cry: . But i have a confusion in output format.
If a input has starting and trailing space what is the output.
Plz sent me correct output of following input.
0-1-2-3-4-5-6-7-8-9-X\n
0-1-2-3-4-5-6-7-8-9-X \n
0- 1- 2- 3-4-5 -6-7-8-9-X\n
XXX-0-1-2-3-4-5-6-7-8-9-X\n
0-11-22-33 ...
I get WA just now. :cry: . But i have a confusion in output format.
If a input has starting and trailing space what is the output.
Plz sent me correct output of following input.
0-1-2-3-4-5-6-7-8-9-X\n
0-1-2-3-4-5-6-7-8-9-X \n
0- 1- 2- 3-4-5 -6-7-8-9-X\n
XXX-0-1-2-3-4-5-6-7-8-9-X\n
0-11-22-33 ...