Search found 13 matches

by BenderBendingRodriguez
Thu Jul 27, 2006 5:20 pm
Forum: Volume 4 (400-499)
Topic: 484 - The Department of Redundancy Department
Replies: 103
Views: 20374

Okay nevermind I got AC now... :D

This is what I changed:

Code: Select all

	while(cin >> number)
	{
		//cin >> number
		
		...
	}

Now I am happy! :)
by BenderBendingRodriguez
Thu Jul 27, 2006 4:44 pm
Forum: Volume 4 (400-499)
Topic: 484 - The Department of Redundancy Department
Replies: 103
Views: 20374

Bug

Hello,

with the following Input & Output for 484 I found a bug in my C++ program, but I don't unterstand the problem.

Input: -3
65535

65535

0

(Note that there are spaces after the numbers).

Output:
-3 1
65535 2
0 1

My program can handle several white spaces and empty lines between ...
by BenderBendingRodriguez
Wed Jul 26, 2006 4:02 pm
Forum: Volume 4 (400-499)
Topic: 483 - Word Scramble
Replies: 122
Views: 38848

I have two questions to this problem:

1.) What if there is one or more blank lines in the input?
bla blob blub


123... 0.98

2.) what if there are more than one white space characters between words in a line?

bla blob blub


THX in advance! :)
by BenderBendingRodriguez
Tue Jun 20, 2006 2:54 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 108740

Or take a look on this thread, it helped me to solve this problem: http://online-judge.uva.es/board/viewtopic.php?t=4019
by BenderBendingRodriguez
Tue Jun 20, 2006 2:50 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 108740

Hello all,
I just want to say THX to this thread which helped me a lot to solve this problem.

Brathering :D
by BenderBendingRodriguez
Sun Jun 04, 2006 11:47 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 108740

Okay, nevermind.
I got helped here.
by BenderBendingRodriguez
Sun Jun 04, 2006 11:28 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 108740

Wow, I haven't expected this.
However, I was looking where I could find information about the compiler which OJ uses.

Thx for your help.
by BenderBendingRodriguez
Sun Jun 04, 2006 8:33 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 108740

OJ's Compiler Error with vector?

Maybe this is a better place to post this: 101 - The Blocks Problem - Compile Error
I got Compile Error by OJ, but for me all compiles fine, why?

:(
by BenderBendingRodriguez
Sun Jun 04, 2006 7:26 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 108740

Here are the compiler error messages from the Online-Judge sent by eMail:


04626291_24.c: In method `BlocksWorld::BlocksWorld(int)':
04626291_24.c:23: no matching function for call to `vector<vector<int,allocator<int> >,allocator<vector<int,allocator<int> > > >::at (size_t &)'
04626291_24.c: In ...
by BenderBendingRodriguez
Sun Jun 04, 2006 5:54 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 108740

101 - The Blocks Problem - Compile Error

Hey all,

now I finished my solution for 101 problem with C++ language.
But what I get from the Online-Judge (I don't submit via eMail) is a Compile Error , why?
For compiling I am using DevCpp 5 with the gcc 3.4.2 version.
While compiling ( g++ -Wall -pedantic ) I have no errors or warnings ...
by BenderBendingRodriguez
Tue Dec 21, 2004 8:45 pm
Forum: Volume 1 (100-199)
Topic: 108 - Maximum Sum
Replies: 233
Views: 51719

108 - Maximum Sum - Time Limit Exceeded

hi @ all,

this is my C++ code for problem 108.
i'm sure it's working fine, but i always get Time Limit Exceeded .
why? :-?

/* @JUDGE_ID: 48058YJ 108 C++ "" */

//@BEGIN_OF_SOURCE_CODE

#include <iostream>

using namespace std;

int main(void)
{
int maxSum = 0;
int maxSumTemp = 0;

int n;
do ...
by BenderBendingRodriguez
Wed Sep 08, 2004 12:03 pm
Forum: C++
Topic: 'Single-Quotes' and "Double-Quotes" ...?
Replies: 2
Views: 2143

thx

thanks, that explains a lot. :)

Bender
by BenderBendingRodriguez
Wed Sep 08, 2004 11:40 am
Forum: C++
Topic: 'Single-Quotes' and "Double-Quotes" ...?
Replies: 2
Views: 2143

'Single-Quotes' and "Double-Quotes" ...?

hi, i am new to this board and to the judge, but i'm also interested for solving some problems.

so, i have a question about 'Single-Quotes' and "Double-Quotes" in C++..
what is the difference between 'Single-Quotes' and "Double-Quotes" ...?

if my code looks like this:
char c;
... // c is an ...

Go to advanced search