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 01:10Joad NacerJoad NacerScore: 5,443Success
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 01:105,38841,172,33415,215,0002,028,0002,281,472
2Apr 17, 2024 01:105,39638,473,46816,252,0001,015,0002,273,280
3Apr 17, 2024 01:105,40838,054,25716,287,0001,017,0002,281,472
4Apr 17, 2024 01:105,42340,023,49915,314,0002,041,0002,273,280
5Apr 17, 2024 01:105,42543,515,52515,317,0002,042,0002,273,280
6Apr 17, 2024 01:105,44039,408,70415,361,0002,048,0002,289,664
7Apr 17, 2024 01:105,44335,527,19816,393,0001,024,0002,273,280
8Apr 17, 2024 01:105,45341,577,99816,422,0001,026,0002,289,664
9Apr 17, 2024 01:105,47939,976,07916,502,0001,031,0002,289,664
10Apr 17, 2024 01:105,67570,803,48618,160,84202,179,072
11Apr 17, 2024 01:105,67981,220,36418,172,17902,297,856
12Apr 17, 2024 01:105,69587,154,33518,223,86702,301,952