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 24, 2025 00:28Emanuele BolognesiEmanuele BolognesiScore: 7,453Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 00:287,39851,361,92122,646,0001,029,0002,461,696
2Apr 24, 2025 00:287,41253,033,88623,718,00002,469,888
3Apr 24, 2025 00:287,41452,231,32723,724,00002,461,696
4Apr 24, 2025 00:287,44648,281,62121,843,0001,985,0002,469,888
5Apr 24, 2025 00:287,45351,813,89723,850,00002,465,792
6Apr 24, 2025 00:287,46450,144,83021,895,0001,990,0002,437,120
7Apr 24, 2025 00:287,46751,039,61821,904,0001,991,0002,453,504
8Apr 24, 2025 00:287,49152,993,76521,975,0001,997,0002,478,080
9Apr 24, 2025 00:287,50454,086,66723,012,0001,000,0002,494,464