Search found 4 matches

by chinaluoqi
Fri Jan 31, 2003 4:50 am
Forum: Volume 1 (100-199)
Topic: 110 - Meta-Loopless Sorts
Replies: 92
Views: 16455

multiple input ?
Does this handle it ?
[cpp]
while (cin >> _n)
{
...
}
[/cpp]

Maybe I have made mistake in understanding, Can anyone explain it exactly to me ?
Thanks for help, everyone.
by chinaluoqi
Thu Jan 30, 2003 8:30 am
Forum: Volume 1 (100-199)
Topic: 110 - Meta-Loopless Sorts
Replies: 92
Views: 16455

#110 WA Why? I'm going to be mad!

I have read all the threads about this problem, and havenot found the bug in my program.
Can you help me, thanks.

[cpp]
#include <iostream>
#include <algorithm>
#include <string>
using namespace std;

const int _maxN = 10;
char _a [_maxN];
int _n;

void OutputA ()
{
int i;
for (i = 0; i < _n - 1 ...
by chinaluoqi
Tue Jan 28, 2003 3:10 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 108922

:lol:
Thank you. I think I have got you idea.
After I added the '(' & ')', my program did every thing well.
Thank you very much, my friend.
by chinaluoqi
Mon Jan 27, 2003 10:41 am
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 108922

#101 WA Why

Can someone help me out?
My program get a WA, but it works well with the sample input.
I'm a newbie here.
Thanks.


[cpp]
#include <iostream>
#include <memory>
#include <string>
using namespace std;

int _a [25] [25];
int _na [25];
int n;

void Return (int pos, int ord)
{
// assume : the card is on ...

Go to advanced search