Welcome to Intel® Software Network Quick Login | Join | Help |
Search in Intel® Software Network Forums
in Go

Question about the result

Last post 01-19-2008, 4:28 PM by jbstjohn. 5 replies.
Sort Posts: Previous Next
 01-17-2008, 2:45 AM 30247161  

Question about the result

Hi Clay,
I have a question about the program's result.
What's the exact meaning about the program's result?
Should we calculate the state of the cells in the whole grid ((0,0),(5000,5000)) or only the output area ((c1.row, c1.col), (c2.row, c2.col))?
I think there is a big difference between them.

Thanks,
Jianfeng Guo
 
 01-17-2008, 4:38 AM 30247166 in reply to 30247161  

Re: Question about the result

In general case, state of the cells in  the output area (moreover, in any part of the grid)

depends on the state of the cells in the whole grid.

 
 01-17-2008, 4:39 AM 30247167 in reply to 30247161  

Re: Question about the result

As I understand it, we need to calculate the state of the cells in the whole grid, and then only display the output area. Cell patterns can move around across the grid, and so the initial cells might be a long way from the output area, and yet still have an effect there (given enough generations).
 
 01-17-2008, 7:38 AM 30247184 in reply to 30247161  

Re: Question about the result

Should we also print the result in exactly the same way as in the reference implementation?

It seems to me that there is a lot of formatting symbols and information messages being printed.

 

 

 
 01-17-2008, 11:02 AM 30247218 in reply to 30247184  

Re: Question about the result

petert@dcn.nord.nw.ru:

Should we also print the result in exactly the same way as in the reference implementation?

It seems to me that there is a lot of formatting symbols and information messages being printed.

 

It appeared that there was a bug in how the title was centered for printout. Instead of using the width of the area that was to be printed, it used the 5000 const value. I changed that, but now thinking about it, it may throw off any automated testing the judges are doing. Should we fix things like that or make sure the output doesn't change from the reference implementation?

 
 01-19-2008, 4:28 PM 30247358 in reply to 30247218  

Re: Question about the result

Hi Judges,

Could we get some feedback on that? I too have taken out the printing of nearly a thousand spaces, which seemed a mistake of some kind, and now just print the generation number, and the graph (as the example code did).

I notice in general you're been putting in a fair bit of manual work, so I'm not too worried, but it would be nice to get actual confirmation of that minor cosmetic changes are okay, and specification of what formatting changes aren't allowed.
 
View as RSS news feed in XML

Shortcuts


Tags For This Post

...

Community Tags

...