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 6, 2024 00:21Sergey SpiridonovSergey SpiridonovScore: 44,533Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2024 00:2144,400168,113,84330,017,000112,064,0002,400,256
2Nov 6, 2024 00:2144,533173,845,37831,110,000111,395,0002,404,352
3Nov 6, 2024 00:2145,152170,279,25930,101,000114,386,0002,314,240