We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- All Contests
- ProjectEuler+
- Project Euler #173: Using up to one million tiles how many different "hollow" square laminae can be formed?
- Discussions
Project Euler #173: Using up to one million tiles how many different "hollow" square laminae can be formed?
Project Euler #173: Using up to one million tiles how many different "hollow" square laminae can be formed?
Sort by
recency
|
16 Discussions
|
Please Login in order to post a comment
simple c++ solution::
Is there no way to find out the input of each test case?
This is my program. But it faces a time-out since the range extends to 10^12. My program's complexity is O(n^2). Any tips?
int main() {
}
PLEASE IF SOMEONE COULD HELP ME WITH THE BELOW CODE::: double d=Math.sqrt((double)n); int y=(int)d; for(int g=(int)d;g>=3;g--) { int p=g*g; if(g%2==0) { int v=2; int fl=v*v; while(fl