
Search found 22 matches
- Fri Nov 11, 2005 12:05 pm
- Forum: Volume 5 (500-599)
- Topic: 537 - Artificial Intelligence?
- Replies: 76
- Views: 22211
Thanks a lot...
Thank you very very much.... I get it,,,, thanks a lot.... I get ACCEPTED..


- Thu Nov 10, 2005 10:42 am
- Forum: Volume 5 (500-599)
- Topic: 537 - Artificial Intelligence?
- Replies: 76
- Views: 22211
The same results...
Hello... I tried your I/O and I have the same outputs of yours.... I don't know what is the error, can you please help??
- Wed Nov 09, 2005 10:14 pm
- Forum: Volume 5 (500-599)
- Topic: 537 - Artificial Intelligence?
- Replies: 76
- Views: 22211
537- Artificial Intelligence WA, C++
Hello every body....
Can any body tell me what is the error in my code??
the code is C++:
Thanks in advance..
Can any body tell me what is the error in my code??
the code is C++:
Code: Select all
removed
- Mon Oct 17, 2005 8:05 pm
- Forum: Volume 1 (100-199)
- Topic: 107 - The Cat in the Hat
- Replies: 278
- Views: 54935
...
Hello,
this input crashes my program also, I found it in the board, and the algorithm you have talken about is similar to that I have used, I tried alot of inputs but still either I have TLE, or WA..
It seems that the problem is in the floating point, or in a case that I didn't take care of.. so ...
this input crashes my program also, I found it in the board, and the algorithm you have talken about is similar to that I have used, I tried alot of inputs but still either I have TLE, or WA..
It seems that the problem is in the floating point, or in a case that I didn't take care of.. so ...
- Sun Oct 16, 2005 10:30 pm
- Forum: Volume 1 (100-199)
- Topic: 107 - The Cat in the Hat
- Replies: 278
- Views: 54935
Any quote.. is this case correct??
Is this a correct case, if yes, why? and what are the values of x and N...etc, please, give me the case that makes my code WA...
input
1771561 64
output
7 17715034
Thanks in advance,,
input
1771561 64
output
7 17715034
Thanks in advance,,
- Fri Oct 14, 2005 11:55 am
- Forum: Volume 1 (100-199)
- Topic: 107 - The Cat in the Hat
- Replies: 278
- Views: 54935
107-WA, Can you give me cases that fail the program??
Why WA????
It worked for a lot of tests. still it gives WA...
Any Help??
The code(C++):
#include <iostream.h>
#include <math.h>
#include <iomanip.h>
void main(){
unsigned int H, W, N, x, C, sum,height, j,t;
double R;
unsigned int i;
cin>>H>>W;
while(!(H==0 && W==0)){
if(H==1){
cout<<'0 ...
It worked for a lot of tests. still it gives WA...
Any Help??
The code(C++):
#include <iostream.h>
#include <math.h>
#include <iomanip.h>
void main(){
unsigned int H, W, N, x, C, sum,height, j,t;
double R;
unsigned int i;
cin>>H>>W;
while(!(H==0 && W==0)){
if(H==1){
cout<<'0 ...
- Sat Oct 08, 2005 2:15 am
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108667
I think, but I'm not sure
Hello,
I think that you must consider a situation like this:
3
move 1 over 3
quit
your code give:
0: 0
1:
2: 2
And I think that this is an error, because 3 is not in the range 0-2, and:
All illegal commands should be ignored and should have no affect on the configuration of blocks.
This ...
I think that you must consider a situation like this:
3
move 1 over 3
quit
your code give:
0: 0
1:
2: 2
And I think that this is an error, because 3 is not in the range 0-2, and:
All illegal commands should be ignored and should have no affect on the configuration of blocks.
This ...
- Thu Sep 29, 2005 12:21 pm
- Forum: Volume 1 (100-199)
- Topic: 153 - Permalex
- Replies: 32
- Views: 18340
..
Hello.. I think you have to check the warning message your program gives.. I compiled it and I have this warning message:
warning C4244: '=' : conversion from 'double' to 'long', possible loss of data
this is related to the following line:
pos=pos+ f*l;
So, you have to make an explicit ...
warning C4244: '=' : conversion from 'double' to 'long', possible loss of data
this is related to the following line:
pos=pos+ f*l;
So, you have to make an explicit ...
- Wed Sep 28, 2005 7:12 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108667
Thanks, I get accepted..
Thank you very much, I made simple changes in my code and I get accepted, I appreciate your help.. Thanks very much.. If you want to see the changes that I made in my code, send me your mail and I will send you my code...
Thanks another time....
Thanks another time....
- Wed Sep 28, 2005 4:35 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108667
Thanks very much..
I'm waiting.. thank you very very much, I wish you can help me...
Thank you very much...
Thank you very much...
- Tue Sep 27, 2005 9:27 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108667
Runtime error now101
Sorry, this is the last code I have, and it gives me a runtime error, I checked my code for a lot of states, and I think that I don't assign a number more that the array capability, so what is your opinion??
I wish you can help me in solving this problem, thanks alot.....
here is the code ...
I wish you can help me in solving this problem, thanks alot.....
here is the code ...
- Tue Sep 27, 2005 9:20 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108667
Now I have a compile error 101
I changed my code thus, and I had a compile error, even it works properly on my computer, Can you please tell me the error??
Thans in advane
Here is the code (C++):
#include <iostream>
#include <cstring>
#include <cstdlib>
using namespace std;
void returnBlocks(int origin[][25], int ai, int aj ...
Thans in advane
Here is the code (C++):
#include <iostream>
#include <cstring>
#include <cstdlib>
using namespace std;
void returnBlocks(int origin[][25], int ai, int aj ...
- Thu Sep 15, 2005 6:39 pm
- Forum: Volume 3 (300-399)
- Topic: 389 - Basically Speaking
- Replies: 94
- Views: 36451
389- Basically Speaking, WA
Hello every one, can you tell me what is the error in this code, I tried it several times without any error, so what is the error???
Hint: I made the same as 355 "The basis are loaded"
Here is the code:
#include <iostream.h>
#include <iomanip.h>
unsigned int largest(char a[]){
int i, largest=-2 ...
Hint: I made the same as 355 "The basis are loaded"
Here is the code:
#include <iostream.h>
#include <iomanip.h>
unsigned int largest(char a[]){
int i, largest=-2 ...
- Wed Sep 14, 2005 6:18 pm
- Forum: Volume 3 (300-399)
- Topic: 355 - The Bases Are Loaded
- Replies: 74
- Views: 30595
355- WA The Bases Are Loaded... please help
Hello every body, please, can any one tell me what is the wrong in this code, it gives me WA even I tried it with several tests..
And please, I also need test cases for this problem, please help me, here is the code:
#include <iostream.h>
unsigned int largest(char a[]){
int i, largest=-2,temp ...
And please, I also need test cases for this problem, please help me, here is the code:
#include <iostream.h>
unsigned int largest(char a[]){
int i, largest=-2,temp ...
- Sun Aug 28, 2005 2:30 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108667
No problems
Hello, I've tried it and I have this output, with no problems:
0:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23: 23 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
whats your opinion????? thanks.
0:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23: 23 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
whats your opinion????? thanks.