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 listDec 15, 2023 12:51Dmitrii VasilevDmitrii VasilevScore: 2,599,221Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 15, 2023 12:512,531,1618,160,588,3728,099,713,90502,260,992
2Dec 15, 2023 12:512,599,2218,385,615,2418,317,508,52602,248,704
3Dec 15, 2023 12:512,873,0449,247,675,9079,193,741,23002,248,704