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 listJan 18, 2024 12:14AnSaAnSaScore: 2,562,945Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 18, 2024 12:142,542,0988,195,150,3258,134,712,03802,240,512
2Jan 18, 2024 12:142,562,9458,281,791,0238,201,422,59802,240,512
3Jan 18, 2024 12:142,692,2348,677,501,0308,615,148,23302,244,608