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 21, 2023 22:17Andranik ChakiryanAndranik ChakiryanScore: 5,899Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 21, 2023 22:175,82543,119,60318,641,00002,355,200
2Feb 21, 2023 22:175,85443,410,93017,692,0001,040,0002,355,200
3Feb 21, 2023 22:175,85645,790,73616,657,0002,082,0002,453,504
4Feb 21, 2023 22:175,85844,963,77218,744,00002,342,912
5Feb 21, 2023 22:175,89144,276,00917,859,000992,0002,342,912
6Feb 21, 2023 22:175,89744,645,61616,885,0001,986,0002,351,104
7Feb 21, 2023 22:175,89984,002,52818,877,31402,179,072
8Feb 21, 2023 22:175,90051,964,06515,900,0002,981,0002,342,912
9Feb 21, 2023 22:175,90249,493,10716,899,0001,988,0002,338,816
10Feb 21, 2023 22:175,90590,317,94818,897,53002,191,360
11Feb 21, 2023 22:175,90739,793,67915,918,0002,984,0002,355,200
12Feb 21, 2023 22:175,95784,709,21719,063,75402,179,072