Search found 5 matches
- Tue Sep 24, 2002 8:27 am
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 318193
- Tue Sep 24, 2002 8:19 am
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 318193
- Tue Sep 24, 2002 8:18 am
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 318193
- Mon Sep 23, 2002 3:48 am
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 318193
- Mon Sep 23, 2002 2:01 am
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 318193
More 100 troubles
Could somebody look at this code and tell me what the problem is? I can't seem to find anything wrong.
[cpp]
/* @JUDGE_ID: 100 C++ */
/* @begin_of_source_code */
#include <iostream.h>
#include <stdio.h>
int cycle(int n);
int main()
{
int i, j, count, temp, n, max;
count = 0;
while(!(cin ...
[cpp]
/* @JUDGE_ID: 100 C++ */
/* @begin_of_source_code */
#include <iostream.h>
#include <stdio.h>
int cycle(int n);
int main()
{
int i, j, count, temp, n, max;
count = 0;
while(!(cin ...