Search found 5 matches
- Wed Jul 16, 2003 12:59 pm
- Forum: Volume 2 (200-299)
- Topic: 253 - Cube painting
- Replies: 28
- Views: 17262
253 Cube Painting WA :(
i dont know why i got WA, im just checking if the first cube and the second cube are the same without any 'rotation' tables. is it possible that the cubes are the same but you cant rotate one to get the second one? here is my algorithm: i remember face 1 color on the first cube, search for that ...
- Tue May 20, 2003 11:36 pm
- Forum: Volume 2 (200-299)
- Topic: 280 - Vertex
- Replies: 95
- Views: 37310
280 why TLE?
why do i got TLE??
[cpp]
#include <iostream.h>
#include <queue>
using std::queue;
void main()
{
int a[110][110], i, j, n, p, q, inNum, nNum, fr;
bool in[110];
while (1) {
cin >> n;
if (n == 0)
break;
for (i = 0; i < n; i++)
for (j = 0; j < n; j++)
a [j] = 0;
while (1) {
cin >> p;
if ...
[cpp]
#include <iostream.h>
#include <queue>
using std::queue;
void main()
{
int a[110][110], i, j, n, p, q, inNum, nNum, fr;
bool in[110];
while (1) {
cin >> n;
if (n == 0)
break;
for (i = 0; i < n; i++)
for (j = 0; j < n; j++)
a [j] = 0;
while (1) {
cin >> p;
if ...
- Sun May 11, 2003 10:54 pm
- Forum: Volume 2 (200-299)
- Topic: 273 - Jack Straws
- Replies: 19
- Views: 4993
thank you
thanks for you help
i got AC now 


- Sun May 11, 2003 10:51 pm
- Forum: Volume 1 (100-199)
- Topic: 112 - Tree Summing
- Replies: 137
- Views: 32279
112 WA :(
i got WA after my program running about 1 second!!!
is there any trick in this problem?? :cry: :(
[cpp]
#include <iostream.h>
#include <stack>
#include <stdlib.h>
using std::stack;
void main()
{
int br, W, SN;
char a, integer[15];
stack<int> weight;
stack<int> subnum;
int sum, I, q, i;
bool ...
is there any trick in this problem?? :cry: :(
[cpp]
#include <iostream.h>
#include <stack>
#include <stdlib.h>
using std::stack;
void main()
{
int br, W, SN;
char a, integer[15];
stack<int> weight;
stack<int> subnum;
int sum, I, q, i;
bool ...
- Thu May 08, 2003 11:04 pm
- Forum: Volume 2 (200-299)
- Topic: 273 - Jack Straws
- Replies: 19
- Views: 4993
273 (Jack Straws)
whats wrong with my code? i got WA after 0,184 sec working!
is there any trick in this problem?
help please
is there any trick in this problem?
help please
