Skip to content
This repository has been archived by the owner on Oct 30, 2020. It is now read-only.

Commit

Permalink
text -> test
Browse files Browse the repository at this point in the history
  • Loading branch information
TortoiseWrath committed Feb 1, 2019
1 parent 1aa1d63 commit 44d8c7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions notes/2019-01-31/index.html
Expand Up @@ -501,12 +501,12 @@ <h3>The formula for the area</h3>
);
}
double p = A / (M_PI * R * R);
if(std::isnan(p) || p > 1.0) printf("1.00\n"); // fix for certain text cases with very large arenas
if(std::isnan(p) || p > 1.0) printf("1.00\n"); // fix for certain test cases with very large arenas
else printf("%.2f\n", p);
}
}</pre>
<p>I am fairly certain this solution is correct, but this problem is unavailable in any virtual judge at this time so I cannot verify this.



</article>
2 changes: 1 addition & 1 deletion solutions/arena.cpp
Expand Up @@ -39,7 +39,7 @@ int main() {
);
}
double p = A / (M_PI * R * R);
if(std::isnan(p) || p > 1.0) printf("1.00\n"); // fix for certain text cases with very large arenas
if(std::isnan(p) || p > 1.0) printf("1.00\n"); // fix for certain test cases with very large arenas
else printf("%.2f\n", p);
}
}

0 comments on commit 44d8c7c

Please sign in to comment.