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 listFeb 24, 2023 21:43Andranik ChakiryanAndranik ChakiryanScore: 5,643Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 24, 2023 21:435,60745,854,94116,945,000996,0002,342,912
2Feb 24, 2023 21:435,61142,705,45316,958,000997,0002,334,720
3Feb 24, 2023 21:435,61644,829,56716,974,000998,0002,342,912
4Feb 24, 2023 21:435,62343,689,29315,994,0001,999,0002,342,912
5Feb 24, 2023 21:435,62746,421,29816,006,0002,000,0002,363,392
6Feb 24, 2023 21:435,63742,707,18916,035,0002,004,0002,355,200
7Feb 24, 2023 21:435,64348,845,97316,053,0002,006,0002,359,296
8Feb 24, 2023 21:435,64738,091,69915,058,0003,011,0002,338,816
9Feb 24, 2023 21:435,65142,178,91516,075,0002,009,0002,342,912
10Feb 24, 2023 21:435,68464,712,34718,188,04702,183,168
11Feb 24, 2023 21:435,77395,492,31818,474,75802,195,456
12Feb 24, 2023 21:435,84180,244,76018,690,40602,183,168