|
|
back to boardShow all messages Hide all messagesCould anybody tell me the detail? Yeah,but how to present a circle? My program: count = 0; for X from 0.000 to 1.000 for Y from 0.000 to 1.000 if Point(X,Y) within some cirle then count := count+1 write(count/1000000*100); Simplest solution: O(1000^2) works 0.39 seconds. Hello! Aydarkanov Tair OKTL 8 Jan 2006 10:27 Hello! Aydarkanov Tair OKTL 8 Jan 2006 10:33 Why your name is Hybrid Theory? It's one of Linkin Park's albums(2000) Do you like Linkin Park? If you like it, then write me: \\tair_a@mail.ru \\fred007@mail.ru |
|
|