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 ...
Search found 20 matches
- Sat Aug 13, 2005 12:52 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10267 - Graphical Editor
- Replies: 190
- Views: 77165
- Tue May 24, 2005 2:50 pm
- Forum: Volume 5 (500-599)
- Topic: 507 - Jill Rides Again
- Replies: 92
- Views: 44545
- Sun May 15, 2005 10:38 am
- Forum: C++
- Topic: Watch this simple program. What happens?
- Replies: 8
- Views: 4014
- Wed May 04, 2005 4:36 pm
- Forum: Volume 1 (100-199)
- Topic: 124 - Following Orders
- Replies: 49
- Views: 12884
- Mon Feb 07, 2005 3:11 pm
- Forum: Volume 2 (200-299)
- Topic: 202 - Repeating Decimals
- Replies: 82
- Views: 25305
- Fri Feb 04, 2005 2:36 pm
- Forum: Volume 2 (200-299)
- Topic: 202 - Repeating Decimals
- Replies: 82
- Views: 25305
202: Repeating Decimals TLE
why why TLE?
Code: Select all
Deleted after AC
- Sun Jan 09, 2005 4:32 pm
- Forum: Volume 2 (200-299)
- Topic: 294 - Divisors
- Replies: 91
- Views: 39223
- Mon Jan 03, 2005 1:30 pm
- Forum: Volume 1 (100-199)
- Topic: 108 - Maximum Sum
- Replies: 233
- Views: 51682
nope it's wrong
output should be 14, not 15
Read some other threads on this problem to find the algo to use for it.
Code: Select all
4
1 1 1 1
1 1 1 1
1 1 1 -1
1 1 1 1
Read some other threads on this problem to find the algo to use for it.
- Thu Dec 30, 2004 5:54 pm
- Forum: Volume 1 (100-199)
- Topic: 108 - Maximum Sum
- Replies: 233
- Views: 51682
Input:
your output:
my output:
and i think this problem just consists of one test case, cos my AC prog handles only one...
Code: Select all
4
-100 4 4 -100
-100 4 4 -100
-100 4 4 -100
-100 4 4 -100
Code: Select all
-92
Code: Select all
32
- Mon Nov 29, 2004 8:41 am
- Forum: Off topic (General chit-chat)
- Topic: OJ stop responding and late reply
- Replies: 14
- Views: 5838
- Sat Nov 20, 2004 4:58 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10267 - Graphical Editor
- Replies: 190
- Views: 77165
- Sun Feb 15, 2004 8:28 am
- Forum: Volume 3 (300-399)
- Topic: 389 - Basically Speaking
- Replies: 94
- Views: 36446
- Mon Oct 27, 2003 11:54 am
- Forum: Volume 105 (10500-10599)
- Topic: 10515 - Powers Et Al.
- Replies: 124
- Views: 45255