Search found 18 matches
- Tue Jan 01, 2008 11:31 am
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 56117
Runtime Error
Can anyone see how this returns a runtime error? I have tried everything it seems, other inputs people have, etc. (and I have looked at other posts too), but my code is accessing memory somewhere it shouldn't be. Thanks for anything! Sorry, ended up being a vector which wasn't popped!! Don't worry, ...
- Thu Oct 07, 2004 1:10 am
- Forum: Volume 102 (10200-10299)
- Topic: 10267 - Graphical Editor
- Replies: 190
- Views: 57367
- Sat Aug 21, 2004 7:29 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10191 - Longest Nap
- Replies: 75
- Views: 31419
itoa()
Why does ANSI C recognize atoi() but not itoa()?
- Fri Aug 20, 2004 2:38 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10191 - Longest Nap
- Replies: 75
- Views: 31419
In C++, now WA
I have good output, I believe, having rewritten this in C++, here is the output: Day #1: the longest nap starts at 15:00 and will last for 30 minutes. Day #2: the longest nap starts at 15:00 and will last for 1 hours and 45 minutes. Day #3: the longest nap starts at 17:15 and will last for 45 minute...
- Thu Aug 19, 2004 12:32 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10191 - Longest Nap
- Replies: 75
- Views: 31419
OK....sorting yet still TLE
I am sorting my times using shell sort and I can get my simple test cases to work, can anyone send or post or tell me of cases which would send my algorithm into a tizzy? Any input is greatly appreciated, thanks
- Thu Aug 19, 2004 12:57 am
- Forum: Volume 101 (10100-10199)
- Topic: 10191 - Longest Nap
- Replies: 75
- Views: 31419
10191 - Time Limit Exceeded
What does this mean? You CAN'T assume, however, that the input will be in any specific order. I assume it means that possibly the times are not necessarily sequential, but, I have the following output: Day #1: the longest nap starts at 15:00 and will last for 30 minutes. Day #2: the longest nap star...
- Fri Jul 02, 2004 9:29 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10252 - Common Permutation
- Replies: 150
- Views: 56301
for clarity I am posting my sample input: <blank line> icky pretty women walking down the street meningitis frontal yelp <blank line> verbatim greater prettywoman walkingdown inging singing ab ba ab cd cat bat and my output generated: <blank line> e nw et nt <blank line> aert anow ggiinn ab <blank l...
- Fri Jul 02, 2004 8:40 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10252 - Common Permutation
- Replies: 150
- Views: 56301
10252
Can't seem to figure out why I get a wrong answer to this problem, I find the common letters to the words, and output the multiples of each letter occuring in both words, I output blank lines for neither word having common letters and for a blank input of the second word, IS IT POSSIBLE TO HAVE AN I...
- Sat Apr 10, 2004 8:54 am
- Forum: Volume 100 (10000-10099)
- Topic: 10044 - Erdos Numbers
- Replies: 102
- Views: 42296
Time Exceeded too
I can't see how I might optimize this, can anyone help? Thanks [cpp] #include <iostream> #include <iterator> #include <cstring> #include <list> using namespace std; const char * FIRST = "P.", * LAST = "Erdos"; typedef struct { char *Name, *Init; int Num; } Erdi; list < list <Erdi...
- Fri Dec 05, 2003 4:01 am
- Forum: Volume 101 (10100-10199)
- Topic: 10197 - Learning Portuguese
- Replies: 45
- Views: 16797
10197 - Runtime Error
I compile and run this fine off my computer, using g++, why does UVA give me a runtime error for this? /*Learning Portuguese #10197*/ #include <iostream> #include <cstring> #include <cassert> #include <string> using namespace std; #define PORT_O 243 class CPort { public: CPort(); CPort(string, stri...
- Thu Dec 04, 2003 12:18 am
- Forum: Volume 101 (10100-10199)
- Topic: 10189 - Minesweeper
- Replies: 418
- Views: 80933
Can anyone tell me what might cause the presentation error in this code? #include <iostream> #include <cstring> #include <cassert> using namespace std; class CMines { public: CMines(); CMines(char**, int, int); ~CMines(); void setRows(int); void setCols(int); void setBoard(char**); int getRows() co...
- Wed Dec 03, 2003 10:44 am
- Forum: Volume 101 (10100-10199)
- Topic: 10189 - Minesweeper
- Replies: 418
- Views: 80933
10189 Comile errer?
I keep getting a compile error, but I can compile and run my program with no error, can anyone explain why (I use g++)?
Thank you,
med
PS - I can send the code if anyone wants me to
- Mon Dec 01, 2003 4:22 am
- Forum: Volume 100 (10000-10099)
- Topic: 10001 - Garden of Eden
- Replies: 39
- Views: 16149
10001 Garden OF Eden
Look, can anyone just tell me if a discrete state is bound by the binary size of the identity or not?
Thanks
Thanks
- Sun Nov 30, 2003 10:53 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10001 - Garden of Eden
- Replies: 39
- Views: 16149
10001 Garden of Eden - Bad Apple?
I want to know why or how, discrete states are displayed that are larger than one byte, like the example given of 2 bytes, if I may ask how the XOR results extend? Does each byte reflect results identical to the first byte? Say state one has automaton value identity 9, and number of cells 5, the bin...