Hey, Mauricio
I did the test cases you provided. Thank you.
The answers are the same as the ones you provided.
So i still don't see anything wrong with it.
Search found 8 matches
- Sat Jul 05, 2003 9:39 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10137 - The Trip
- Replies: 159
- Views: 70292
- Sat Jul 05, 2003 2:43 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10137 - The Trip
- Replies: 159
- Views: 70292
- Mon Jun 30, 2003 2:41 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10082 - WERTYU
- Replies: 57
- Views: 16635
- Mon Jun 30, 2003 4:33 am
- Forum: Volume 100 (10000-10099)
- Topic: 10082 - WERTYU
- Replies: 57
- Views: 16635
10082 O.L why???
why do i get output limited exceeded
Output Limit Exceeded (OL): Your program tried to write too much information. This usually occurs if it goes into a infinite loop
#include <iostream.h>
#include <stdlib.h>
#include <stdio.h>
[cpp]
#include <iostream.h>
#include <stdlib.h>
#include <stdio.h ...
Output Limit Exceeded (OL): Your program tried to write too much information. This usually occurs if it goes into a infinite loop
#include <iostream.h>
#include <stdlib.h>
#include <stdio.h>
[cpp]
#include <iostream.h>
#include <stdlib.h>
#include <stdio.h ...
- Mon Jun 30, 2003 4:17 am
- Forum: Volume 100 (10000-10099)
- Topic: 10038 - Jolly Jumpers
- Replies: 445
- Views: 152777
HELP NEEDED
what is wrong with my program???
Anyone help me
[cpp]#include <iostream.h>
#include <stdlib.h>
int main()
{
int first = 0;
int second = 0;
int num;
bool * array;
bool flag = true;
while (cin >> num)
{
if (num > 1)
{
array = new bool[num];
int i;
for (i = 1; i <= num; i++)
{
array ...
Anyone help me
[cpp]#include <iostream.h>
#include <stdlib.h>
int main()
{
int first = 0;
int second = 0;
int num;
bool * array;
bool flag = true;
while (cin >> num)
{
if (num > 1)
{
array = new bool[num];
int i;
for (i = 1; i <= num; i++)
{
array ...
- Sat Jun 21, 2003 2:20 am
- Forum: Volume 101 (10100-10199)
- Topic: 10137 - The Trip
- Replies: 159
- Views: 70292
10137 help plz
I just don't see what is wrong with my program.
I converted everything into cents.
I then found the average of these costs in cents rounding down.
I then found the remaining cents which need to be distributed using
remainder = sum mod # of trips.
I counted the # of costs larger than the average ...
I converted everything into cents.
I then found the average of these costs in cents rounding down.
I then found the remaining cents which need to be distributed using
remainder = sum mod # of trips.
I counted the # of costs larger than the average ...
- Sun Jun 01, 2003 5:27 am
- Forum: Volume 1 (100-199)
- Topic: 103 - Stacking Boxes
- Replies: 200
- Views: 50407
103 help
Can anyone give me some hints as to the solution to problem 103, the stacking boxes one
- Mon May 19, 2003 8:46 pm
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 318193
problem 100
The input for problem 100 is a series of lines of numbers.
How do i know when the input ends?
In addition, should i print all the output after all the input or
should i follow the format
input
output
input
output
etc...
How do i know when the input ends?
In addition, should i print all the output after all the input or
should i follow the format
input
output
input
output
etc...