Hello!
plese help me with problem 100
This programm working perfeclty but I've still got WA
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
unsigned i,j,k,n1, max,tmp,tmp1;
while (cin >>i >>j)
{
if (j<i)
{
tmp1=i;
i=j;
j=tmp1;
cout << j <<" " <<i;
}
else ...
Search found 3 matches
- Thu Jun 02, 2005 12:34 am
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 320072
- Fri May 20, 2005 2:09 am
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 320072
- Fri May 20, 2005 2:07 am
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 320072