Search found 20 matches

by Iwashere
Sat Aug 13, 2005 12:52 pm
Forum: Volume 102 (10200-10299)
Topic: 10267 - Graphical Editor
Replies: 190
Views: 52307

I'm getting WA. Have looked through the code many times already. Please help. #include <stdio.h> #include <string.h> int i, j, m, n, x, x1, x2, y, y1, y2; char c, com, dummy, name[13], pic[250][250]; void ffill (int x, int y, char c, char o){ if (c==o){ return; } if (pic[y][x]==o){ pic[y][x]=c; if (...
by Iwashere
Tue May 24, 2005 2:50 pm
Forum: Volume 5 (500-599)
Topic: 507 - Jill Rides Again
Replies: 92
Views: 30041

I get the correct output when I compiled the program in TC.
by Iwashere
Sun May 15, 2005 10:38 am
Forum: C++
Topic: Watch this simple program. What happens?
Replies: 8
Views: 3186

It's quite expected behaviour based on your input.
First it assigns 'a' to c and prints it out. Then it tries to assign 'b' to v, but fails as v is an integer. Then it outputs the value of an uninitialised v. After that, all the cins fail to work and the value of c is printed repeatedly.
by Iwashere
Wed May 04, 2005 4:36 pm
Forum: Volume 1 (100-199)
Topic: 124 - Following Orders
Replies: 49
Views: 7080

03526697_24.c:22: parse error before character 0232
I think you have stray characters 0x9A in your code.
by Iwashere
Mon Feb 07, 2005 3:11 pm
Forum: Volume 2 (200-299)
Topic: 202 - Repeating Decimals
Replies: 82
Views: 10930

Hey, that worked, thanks. But I cannot believe there are test cases where the result is so long...
by Iwashere
Fri Feb 04, 2005 2:36 pm
Forum: Volume 2 (200-299)
Topic: 202 - Repeating Decimals
Replies: 82
Views: 10930

202: Repeating Decimals TLE

why why TLE?

Code: Select all

Deleted after AC
by Iwashere
Sun Jan 09, 2005 4:32 pm
Forum: Volume 2 (200-299)
Topic: 294 - Divisors
Replies: 91
Views: 23660

you do not need sieve. infact you do not even need to find primes at all. there is a much simpler way of dividing a number with primes...
by Iwashere
Mon Jan 03, 2005 1:30 pm
Forum: Volume 1 (100-199)
Topic: 108 - Maximum Sum
Replies: 233
Views: 22801

nope it's wrong

Code: Select all

4
1 1 1 1
1 1 1 1
1 1 1 -1
1 1 1 1
output should be 14, not 15

Read some other threads on this problem to find the algo to use for it.
by Iwashere
Fri Dec 31, 2004 6:50 am
Forum: General
Topic: help
Replies: 4
Views: 1481

edit your member infomation. there's a option smthing like this

You want to receive the replies from the Online Judge to :
  • The host I used to send that program
  • Always to the E-Mail address specified at the top
  • No E-Mail reply at all: I'll surf the Web!
by Iwashere
Thu Dec 30, 2004 5:58 pm
Forum: General
Topic: help
Replies: 4
Views: 1481

erm check your mail? the judge should have sent a mail to your email account, giving you exact details of the compile error
by Iwashere
Thu Dec 30, 2004 5:54 pm
Forum: Volume 1 (100-199)
Topic: 108 - Maximum Sum
Replies: 233
Views: 22801

Input:

Code: Select all

4
-100 4 4 -100
-100 4 4 -100
-100 4 4 -100
-100 4 4 -100
your output:

Code: Select all

-92
my output:

Code: Select all

32
and i think this problem just consists of one test case, cos my AC prog handles only one...
by Iwashere
Mon Nov 29, 2004 8:41 am
Forum: Off topic (General chit-chat)
Topic: OJ stop responding and late reply
Replies: 14
Views: 4390

I have submitted my code through the PHP script many times.. and the judge does not receive my code sometimes. What is happening to the OJ? nah. I think that OJ did recieve your submissions, but they just take a long time before they appear. For me, once it took about 30 minutes before my submissio...
by Iwashere
Sat Nov 20, 2004 4:58 pm
Forum: Volume 102 (10200-10299)
Topic: 10267 - Graphical Editor
Replies: 190
Views: 52307

What is wrong with my code? i keep getting WA... [c]#include <stdio.h> #include <string.h> int i, j, m, n, x, x1, x2, y, y1, y2; char c, com, dummy, name[13], pic[250][250]; void ffill (int x, int y, char c, char o){ if (c==o){ return; } if (pic[y][x]==o){ pic[y][x]=c; if (y!=0){ ffill(x, y-1, c, o)...
by Iwashere
Sun Feb 15, 2004 8:28 am
Forum: Volume 3 (300-399)
Topic: 389 - Basically Speaking
Replies: 94
Views: 22628

Can somebody give me some input for this problem?

Thanks in advance.
by Iwashere
Mon Oct 27, 2003 11:54 am
Forum: Volume 105 (10500-10599)
Topic: 10515 - Powers Et Al.
Replies: 124
Views: 29713

Found what's wrong.
Some caculation problem and I did not know that n^0=1.
Thank you very much, Towhid

Go to advanced search