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 listJun 5, 2026 21:47IlyaIlyaError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2026 21:48023,025,47612,872,0001,044,0002,113,536expected "975054 ", got "3574705086 "
2Jun 5, 2026 21:48024,508,15912,870,0001,074,0002,113,536expected "975486 ", got "3618581870 "
3Jun 5, 2026 21:48022,999,74712,914,0001,063,0002,113,536expected "977074 ", got "977080 "