95% Accurate Prime Algorithm
really efficient algorithm that tells whether a number is prime or not very very quickly with > 95% accuracy bool is_prime(int x) return false; test no.99989: passed test no.99990: passed test no.99991: failed test no.99992: passed test no.99993: passed test no.99994: passed test no.99995: passed test no.99996: passed test no.99997: passed test no.99998: passed test no.99999: passed 95.121% tests passed
A programming screenshot presents an allegedly very efficient prime-number checker that always returns false. Nearly every test passes by chance, but one test fails, humorously revealing that the algorithm is useless despite its impressive 95.121% accuracy claim. EN: A programming screenshot presents an allegedly very efficient prime-number checker that always returns false. Nearly every test passes by chance, but one test fails, humorously revealing that the algorithm is useless despite its impressive 95.121% accuracy claim.
code editor / редактор кодаprogramming code / программный кодfunction declaration / объявление функцииtest results / результаты тестовcomputer screen / экран компьютераdark theme / тёмная темаfalse return statement / оператор возврата falsepassed test / пройденный тестfailed test / проваленный тестpercentage statistic / процентная статистикаsocial media post / публикация в соцсети
- @ithueti / 17704 2026-02-19
- Type
- image
- Size
- 800×701 · 59.1 KiB
- Mood
- sarcastic
- Language
- en
- Added