Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listJul 22, 2022 23:11Robert BurkeRobert BurkeScore: 4,748Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 23:114,72131,040,12713,092,0002,014,0002,445,312
2Jul 22, 2022 23:114,72130,500,27013,092,0002,014,0002,445,312
3Jul 22, 2022 23:114,73334,924,32813,127,0002,019,0002,281,472
4Jul 22, 2022 23:114,73829,156,21913,140,0002,021,0002,281,472
5Jul 22, 2022 23:114,73830,215,08013,141,0002,021,0002,277,376
6Jul 22, 2022 23:114,73837,112,96113,142,0002,021,0002,453,504
7Jul 22, 2022 23:114,74834,432,61814,180,0001,012,0002,281,472
8Jul 22, 2022 23:114,75730,970,28113,194,0002,029,0002,449,408
9Jul 22, 2022 23:114,76138,063,60613,203,0002,031,0002,281,472
10Jul 22, 2022 23:114,926101,917,45515,762,70302,207,744
11Jul 22, 2022 23:114,94878,991,48215,833,77002,207,744
12Jul 22, 2022 23:114,95159,873,72915,842,79602,207,744