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 17, 2024 03:49Joad NacerJoad NacerScore: 5,327Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 03:495,28539,486,53014,923,0001,989,0002,289,664
2Apr 17, 2024 03:495,29442,964,79514,947,0001,993,0002,273,280
3Apr 17, 2024 03:495,29851,891,10614,961,0001,994,0002,269,184
4Apr 17, 2024 03:495,30244,695,74315,969,000998,0002,281,472
5Apr 17, 2024 03:495,31234,308,99614,998,0001,999,0002,289,664
6Apr 17, 2024 03:495,31540,350,21115,008,0002,001,0002,289,664
7Apr 17, 2024 03:495,32739,336,29015,041,0002,005,0002,363,392
8Apr 17, 2024 03:495,34934,548,77515,103,0002,013,0002,289,664
9Apr 17, 2024 03:495,35041,079,30715,107,0002,014,0002,289,664
10Apr 17, 2024 03:495,52991,149,71917,693,44702,306,048
11Apr 17, 2024 03:495,56866,321,56117,817,83102,297,856
12Apr 17, 2024 03:495,60066,098,46117,919,99502,174,976