Search found 5 matches

by Runtime_Error
Wed Jul 16, 2003 12:59 pm
Forum: Volume 2 (200-299)
Topic: 253 - Cube painting
Replies: 28
Views: 13052

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 colo...
by Runtime_Error
Tue May 20, 2003 11:36 pm
Forum: Volume 2 (200-299)
Topic: 280 - Vertex
Replies: 95
Views: 23925

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 (p == 0) break; ...
by Runtime_Error
Sun May 11, 2003 10:54 pm
Forum: Volume 2 (200-299)
Topic: 273 - Jack Straws
Replies: 19
Views: 3428

thank you

thanks for you help :D i got AC now :wink:
by Runtime_Error
Sun May 11, 2003 10:51 pm
Forum: Volume 1 (100-199)
Topic: 112 - Tree Summing
Replies: 137
Views: 16270

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 yes, frb...
by Runtime_Error
Thu May 08, 2003 11:04 pm
Forum: Volume 2 (200-299)
Topic: 273 - Jack Straws
Replies: 19
Views: 3428

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 :)

Go to advanced search