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 listJan 2, 2023 21:25Jack FrigaardJack FrigaardScore: 5,834Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 21:255,58351,310,66915,880,0001,985,0002,285,568
2Jan 2, 2023 21:255,60645,278,95015,945,0001,993,0002,281,472
3Jan 2, 2023 21:255,71343,085,16116,250,0002,031,0002,527,232
4Jan 2, 2023 21:255,79341,294,28517,509,0001,029,0002,285,568
5Jan 2, 2023 21:255,80040,639,25418,561,00002,363,392
6Jan 2, 2023 21:255,80145,864,28917,531,0001,031,0002,285,568
7Jan 2, 2023 21:255,83447,137,73917,632,0001,037,0002,527,232
8Jan 2, 2023 21:255,89643,948,85416,881,0001,986,0002,273,280
9Jan 2, 2023 21:255,89748,072,89316,884,0001,986,0002,285,568
10Jan 2, 2023 21:255,982136,215,28919,142,26202,301,952
11Jan 2, 2023 21:255,99662,417,70819,186,17502,297,856
12Jan 2, 2023 21:256,02480,614,42419,276,79002,306,048