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 listNov 5, 2024 23:14Manuel PepeManuel PepeScore: 836,803Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 5, 2024 23:14836,1132,703,723,5852,486,665,000188,898,0002,351,104
2Nov 5, 2024 23:14836,3012,700,246,0012,492,291,000183,873,0002,506,752
3Nov 5, 2024 23:14836,4752,703,286,0692,487,810,000188,909,0002,437,120
4Nov 5, 2024 23:14836,5372,705,512,2722,478,998,000197,920,0002,428,928
5Nov 5, 2024 23:14836,8032,702,056,1752,483,860,000193,911,0002,293,760
6Nov 5, 2024 23:14836,9792,707,349,0472,487,453,000190,881,0002,334,720
7Nov 5, 2024 23:14837,4302,710,579,3282,494,862,000184,915,0002,367,488
8Nov 5, 2024 23:14838,2522,709,273,1822,492,518,000189,887,0002,428,928
9Nov 5, 2024 23:14839,0612,712,521,2432,493,067,000191,928,0002,265,088