Search found 1 match
Search found 1 match • Page 1 of 1
- Thu Nov 10, 2011 2:23 am
- Forum: Volume 119 (11900-11999)
- Topic: 11973 - Sierpinski Carpet
- Replies: 1
- Views: 1898
My code receives WA. As I've eliminated the possibility of a rounding error, I really cannot see why it's still wrong. I wrote the solution in many ways, this one being the most foolproof: #include <stdio.h> #include <iostream> using namespace std; long double d1, d2, p3, p6; int i1, i2, m = 1000000...