Search found 9 matches

by potato
Sat Nov 01, 2003 5:31 pm
Forum: Volume 2 (200-299)
Topic: 288 - Arithmetic Operations With Large Integers
Replies: 14
Views: 6092

288 - Runtime Error

This problem seems to be quite easy. But my program kept getting Rutime error.
I wonder if there are some tricky input cases?
by potato
Wed Aug 20, 2003 5:32 pm
Forum: Volume 3 (300-399)
Topic: 367 - Halting Factor Replacement Systems
Replies: 12
Views: 3765

After rejudgment, I got WA, too.
And I fixed some problem in my problem, and got TLE......
I am quite puzzled now......
by potato
Thu Apr 24, 2003 5:13 am
Forum: Volume 8 (800-899)
Topic: 827 - Buddy Memory Allocator
Replies: 6
Views: 6350

827 Buddy Memory Allocator

I don't quite understand this statement in the problem: Notice that, whenever there is a request that corresponds to a block of size s, your program should select the block of that size that was most recently declared free . Furthermore, when a block is split in two, the left-one (lower addresses) s...
by potato
Mon Mar 10, 2003 12:17 pm
Forum: Volume 1 (100-199)
Topic: 134 - Loglan-A Logical Language
Replies: 45
Views: 4543

Sorry for delay, but I was outside my city :( One mistake :)) in found Try this input "." -> only dot in line, as first character, after that enter .... Happy debugging :) It was nice mistake hehehe Dominik PS. So I still think, that reading word by word is better - you avoid this problem in such w...
by potato
Thu Feb 27, 2003 4:49 pm
Forum: Volume 1 (100-199)
Topic: 134 - Loglan-A Logical Language
Replies: 45
Views: 4543

Dominik Michniewski wrote:Are you sure that you correct handle inputs like:

Code: Select all

la 
mutce
      bunbo 
mrenu bi 
ditca
.
Output should be "Good"

Dominik
My program does give the correct answer for this testcase...
by potato
Thu Feb 27, 2003 2:21 pm
Forum: Volume 1 (100-199)
Topic: 134 - Loglan-A Logical Language
Replies: 45
Views: 4543

I still failed to find any mistake in my program :( Here it is [cpp] #include <stdio.h> #include <strstream> #include <string.h> #include <ctype.h> #define ISVOWEL(x) ( (x)=='a' || (x)=='e' || (x)=='i' || (x)=='o' || (x)=='u' ) #define NOTVOWEL(x) ( (x)!='a' && (x)!='e' && (x)!='i' && (x)!='o' && (x...
by potato
Wed Feb 26, 2003 5:15 am
Forum: Volume 1 (100-199)
Topic: 134 - Loglan-A Logical Language
Replies: 45
Views: 4543

two more questions

I've got two more questions here:

1. Should A, E, I, O, U be considered as vowels as a, e, i, o, u? Also, is 'GA' a MOD just like 'ga'?

2. If a word contains some non-alpha characters, should this characters be considered as consonant, or just consider the sentence to be a Bad one?
by potato
Tue Feb 25, 2003 1:57 pm
Forum: Volume 1 (100-199)
Topic: 134 - Loglan-A Logical Language
Replies: 45
Views: 4543

junjieliang wrote:Have you tried having the period "." as a single word?
Something like
le_bcade_ga_fgiho_.
where the underscore "_" is space.
The output should be "Good"

Hope this helps.
my program gave the correct answer to such cases :(
by potato
Tue Feb 25, 2003 8:31 am
Forum: Volume 1 (100-199)
Topic: 134 - Loglan-A Logical Language
Replies: 45
Views: 4543

134 - Loglan-A Logical Language

I have checked my program for a long time, but failed to find any mistake. Are there any tricks in this problem? There is my testcase: INPUT: le bcade ga fgiho. le bcade ge fgiho le bcade. le bcade gi fgiho li bcade. le bcade go fgiho lo bcade. le bcade gu fgiho lu bcade. foobar ge juklo li manpi. l...

Go to advanced search