Can someone explain me how is the answer for ABA 5?
I counted 4 :
1. leave as it is
2. remove B
3. remove A and A
4. remove everything
Search found 16 matches
- Wed Jan 24, 2007 7:16 pm
- Forum: Volume 106 (10600-10699)
- Topic: 10617 - Again Palindrome
- Replies: 12
- Views: 7334
- Sat Aug 19, 2006 8:06 pm
- Forum: Volume 1 (100-199)
- Topic: 163 - City Directions
- Replies: 24
- Views: 14805
- Fri Jun 30, 2006 3:29 pm
- Forum: Volume 1 (100-199)
- Topic: 149 - Forests
- Replies: 37
- Views: 11103
- Fri Jun 30, 2006 2:11 pm
- Forum: Volume 1 (100-199)
- Topic: 149 - Forests
- Replies: 37
- Views: 11103
- Sun Jun 04, 2006 2:40 am
- Forum: Volume 1 (100-199)
- Topic: 149 - Forests
- Replies: 37
- Views: 11103
- Tue May 23, 2006 9:51 pm
- Forum: Volume 1 (100-199)
- Topic: 148 - Anagram checker
- Replies: 31
- Views: 7705
- Mon May 22, 2006 10:34 pm
- Forum: Volume 1 (100-199)
- Topic: 148 - Anagram checker
- Replies: 31
- Views: 7705
- Sun May 21, 2006 3:28 pm
- Forum: Volume 1 (100-199)
- Topic: 148 - Anagram checker
- Replies: 31
- Views: 7705
[148] WA - Clarifications.
I get WA for this problem, and I have no idea what's wrong. I would be really thankful to anybody providing some tricky test case or answering the following questions:
1. Can we reuse words?
2. What about duplicate words?
3. Can we have multiple inputs?
I would appreciate output from AC code for ...
1. Can we reuse words?
2. What about duplicate words?
3. Can we have multiple inputs?
I would appreciate output from AC code for ...
- Sat Apr 29, 2006 3:14 am
- Forum: Volume 1 (100-199)
- Topic: 139 - Telephone Tangles
- Replies: 66
- Views: 15743
139 WA - need input
I'm doing that problem for a quite long time, and I'm desparate now. Could anybody supply some test cases that could brake that code:
// Telephone Tangles - acm.uva.es/p/v1/139.html
// by Artur Dmowski
#include <cstdio>
#include <cstdlib>
#include <cstring>
#define MAXL 10001
#define REP(i,n) for ...
// Telephone Tangles - acm.uva.es/p/v1/139.html
// by Artur Dmowski
#include <cstdio>
#include <cstdlib>
#include <cstring>
#define MAXL 10001
#define REP(i,n) for ...
- Fri Jan 20, 2006 5:36 pm
- Forum: Volume 1 (100-199)
- Topic: 128 - Software CRC
- Replies: 62
- Views: 14547
128-Software CRC WA
I have no idea what's wrong with my code. Does anybody have some special cases or other inputs. Here is my code:
// Software CRC - acm.uva.es/p/v1/128.cpp
// by Artur Dmowski
#include <cstdio>
#include <cstring>
#define G 34943
using namespace std;
char line[1500];
int crc,m,k,i;
int main ...
// Software CRC - acm.uva.es/p/v1/128.cpp
// by Artur Dmowski
#include <cstdio>
#include <cstring>
#define G 34943
using namespace std;
char line[1500];
int crc,m,k,i;
int main ...
- Sun Dec 18, 2005 5:05 pm
- Forum: Volume 1 (100-199)
- Topic: 114 - Simulation Wizardry
- Replies: 80
- Views: 16279
114 WA
I have no idea why it gets WA. I tested my program for all inputs available on board and it works. Any ideas?
//Simulation Wizardry - acm.uva.es/p/v1/114.html
#include <iostream>
#include <cstring>
#include <cstdio>
#define MAXD 55
#define REP(i,n) for(int tn=n,i=0; i < tn; i++)
using namespace ...
//Simulation Wizardry - acm.uva.es/p/v1/114.html
#include <iostream>
#include <cstring>
#include <cstdio>
#define MAXD 55
#define REP(i,n) for(int tn=n,i=0; i < tn; i++)
using namespace ...
- Sat Dec 03, 2005 4:22 am
- Forum: Volume 1 (100-199)
- Topic: 109 - SCUD Busters
- Replies: 96
- Views: 36908
109 WA
Can anybody help me with that problem? Judge says WA and I have no idea what could be wrong. Thanks in advance, for replies.
//SCUD Busters - acm.uva.es/p/v1/109.html
#include <cstdio>
#include <cstdlib>
#include <cassert>
#include <cstring>
#include <climits>
#include <cmath>
#include <algorithm ...
//SCUD Busters - acm.uva.es/p/v1/109.html
#include <cstdio>
#include <cstdlib>
#include <cassert>
#include <cstring>
#include <climits>
#include <cmath>
#include <algorithm ...
- Sat Oct 29, 2005 1:51 am
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108633
101 RE and no ideas
Can anybody help with that code. I try to find some bug that makes runtime error but it always works. Thanks in advance, for any replies.
#include <cstdio>
#include <cstring>
#define MAXN 25
using namespace std;
long contains[MAXN][MAXN], pos[MAXN], size[MAXN];
void setup(){
int i,j;
for(i ...
#include <cstdio>
#include <cstring>
#define MAXN 25
using namespace std;
long contains[MAXN][MAXN], pos[MAXN], size[MAXN];
void setup(){
int i,j;
for(i ...
- Sun Oct 23, 2005 3:59 pm
- Forum: Other words
- Topic: USACO --- cowxor
- Replies: 4
- Views: 3191
- Sun Oct 23, 2005 4:29 am
- Forum: Other words
- Topic: USACO --- cowxor
- Replies: 4
- Views: 3191