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 listApr 28, 2025 21:13lukostlukostScore: 4,457Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 28, 2025 21:134,42740,970,09212,142,0002,023,0002,437,120
2Apr 28, 2025 21:134,45131,588,09013,227,0001,017,0002,539,520
3Apr 28, 2025 21:134,45334,816,16112,213,0002,035,0002,441,216
4Apr 28, 2025 21:134,45639,992,52613,240,0001,018,0002,539,520
5Apr 28, 2025 21:134,45729,365,58513,243,0001,018,0002,441,216
6Apr 28, 2025 21:134,45728,660,88813,245,0001,018,0002,445,312
7Apr 28, 2025 21:134,45929,783,80413,250,0001,019,0002,445,312
8Apr 28, 2025 21:134,46437,782,13813,264,0001,020,0002,453,504
9Apr 28, 2025 21:134,49035,312,56913,341,0001,026,0002,539,520