Search found 136 matches

by jan_holmes
Sat Sep 02, 2006 4:50 pm
Forum: Volume 110 (11000-11099)
Topic: 11076 - Add Again
Replies: 34
Views: 16389

11076 - Add Again

Actually, what algorithm should we use to avoid TLE ??? Thx...
by jan_holmes
Fri Sep 01, 2006 7:16 pm
Forum: Volume 8 (800-899)
Topic: 871 - Counting Cells in a Blob
Replies: 27
Views: 14653

871 : RE... Please Help !!!!

I got RE all the time, please help...

Code: Select all

AC...ed                
Thx...
by jan_holmes
Wed Aug 16, 2006 5:18 pm
Forum: Volume 4 (400-499)
Topic: 483 - Word Scramble
Replies: 122
Views: 19849

I have modified your code a bit... it is AC now... Here it is : #include <string> #include <cstring> #include <iostream> //#include <fstream> #include <stack> using namespace std; int main() { // ifstream fin("input.txt"); stack<char> stk; string str; int count = 0; while (getline(cin, str)) { if (c...
by jan_holmes
Sun Aug 13, 2006 7:02 pm
Forum: Volume 6 (600-699)
Topic: 673 - Parentheses Balance
Replies: 243
Views: 45640

try this input :
1
(()))(
The answer should be "No".
by jan_holmes
Sun Aug 13, 2006 11:02 am
Forum: Volume 6 (600-699)
Topic: 673 - Parentheses Balance
Replies: 243
Views: 45640

remove "system("pause")" from your code.
by jan_holmes
Sat Aug 12, 2006 8:15 pm
Forum: Volume 110 (11000-11099)
Topic: 11067 - Little Red Riding Hood
Replies: 23
Views: 8542

my source code just use integer as a data type to store the result and it is got Accepted.... I think it is not the problem...
by jan_holmes
Tue Aug 08, 2006 8:45 pm
Forum: Volume 102 (10200-10299)
Topic: 10299 - Relatives
Replies: 57
Views: 14075

It usually means that your array might be too small to handle some cases... for example you made an array with size 100000... but in some cases, your program points to index 100005, that's why you got Runtime Error (Invalid Memory Reference)...

Btw, your program failed in this case :
454545445
by jan_holmes
Tue Aug 08, 2006 1:49 pm
Forum: Other words
Topic: Eclipse configuration
Replies: 0
Views: 1267

Eclipse configuration

Hi, is there anyone know how to configure eclipse at the very first time ??
by jan_holmes
Sun Aug 06, 2006 10:53 am
Forum: Volume 110 (11000-11099)
Topic: 11062 - Andy's Second Dictionary
Replies: 38
Views: 18379

Thx StatujaLeha... I'll try to fix my program now... :D
by jan_holmes
Sun Aug 06, 2006 10:49 am
Forum: Volume 110 (11000-11099)
Topic: 11056 - Formula 1
Replies: 34
Views: 16514

Here it is : Row 1 Senna Schumacher Row 2 Barrichello Row 1 Senna Fangio Row 2 Schumacher Barrichello Row 1 ABadPilot BadPilot Row 1 Senna Fangio Row 2 M.Schumacher R.Schumacher Row 3 Barrichello Row 1 team-2 team-3 Row 2 M.Schumacher R.Schumacher Row 3 team-1 Row 1 team-2 team-3 Row 2 M.Schumacher ...
by jan_holmes
Sun Aug 06, 2006 9:53 am
Forum: Volume 110 (11000-11099)
Topic: 11062 - Andy's Second Dictionary
Replies: 38
Views: 18379

11062 - Andy's Second Dictionary

What is the output of :
Adv- enture- s
of
disney-154323 land
in Ja-
pan."-

".
Thx... :)
by jan_holmes
Sun Aug 06, 2006 9:50 am
Forum: Volume 110 (11000-11099)
Topic: 11056 - Formula 1
Replies: 34
Views: 16514

My AC program gives :
removed... see below...
But I think all input testcases for the name of the driver will be 1 word (not separated), so some of your inputs might not be valid...

Hope it helps... :wink:
by jan_holmes
Sat Aug 05, 2006 1:39 pm
Forum: General
Topic: help help help me [ Lottery]!
Replies: 1
Views: 1033

Btw, what problem number is it ???
by jan_holmes
Sat Jul 29, 2006 11:55 am
Forum: Algorithms
Topic: What is O(n^4)?
Replies: 2
Views: 1357

by jan_holmes
Sat Jul 29, 2006 11:10 am
Forum: Off topic (General chit-chat)
Topic: NIC Card
Replies: 0
Views: 1600

NIC Card

Hi, could anyone of you give me an idea about :

1. What is the latest NIC Card now ???
2. What is the bus type ?
3. What are the type of the cable and the scoket ??

Thx... :D

Go to advanced search