Closed kachick closed 7 months ago
暗号化して解答を鍵に中を見られるようにしておけば良いんじゃないか
この発想って、前に自分が使いたいかはともかく面白いなと思った https://helpfeel.com/masui/%E7%A7%98%E5%AF%86%E6%83%85%E5%A0%B1%E3%82%92%E3%82%B0%E3%82%B0%E3%82%8B-59d14268ebd3c90012586f22 と通じるところがあるやろか
https://episopass.com/ https://github.com/masui/EpisoPass2023
https://github.com/kachick/times_kachick/issues/258#issuecomment-1956680088 で private リポジトリのアーカイブしてない物中心にずっと触ってないやつとか眺めてたんだけど、その中にプロジェクト・オイラーの解答があった。 普通に公開している人もいるのは知っているけどこういうのは公開されたら嫌だろうなーととりあえず private にしてた。競技プログラミングとかこういうのは面白そうだなとわっと飛びかかっては基礎がない事もあってすぐに出来なくなりやらなくなってしまうんだけど、とはいえ公開していいなら諸々面倒が減るのでしてしまいたい。
で、だめだろうなーとは思いつつ一応調べてみた。 ここの問題そのものは CC BY-NC-SA 4.0 https://projecteuler.net/copyright でライセンスされてて非営利なら公開出来るみたいなんだけど、自分が書いた解答に関しては他者の喜びを奪うなかれ的にやめてほしいとある
https://projecteuler.net/about
ただ、最初の100問に関してはこの縛りの外なんだとか。そうね、そこまでは誰でもすぐ出来るだろうしね、僕は12問目までで止まってたみたいだが・・・
面白いのはそれ以降で、コードは暗号化して解答を鍵に中を見られるようにしておけば良いんじゃないかというのがあった。管理者も賢いと言ってるし、これは良さそう
https://projecteuler.chat/viewtopic.php?p=56222#p56222
まぁ、そのソリューションをやり出せるまでには再開した上で後90問近く解いてみろという話なんだが・・・