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 16:51Jack FrigaardJack FrigaardScore: 4,848Success
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 16:514,81332,599,42514,375,0001,026,0002,269,184
2Jan 2, 2023 16:514,81643,551,72914,385,0001,027,0002,523,136
3Jan 2, 2023 16:514,81647,719,28714,385,0001,027,0002,273,280
4Jan 2, 2023 16:514,82427,068,71214,409,0001,029,0002,277,376
5Jan 2, 2023 16:514,83634,378,40314,443,0001,031,0002,527,232
6Jan 2, 2023 16:514,84136,864,98814,458,0001,032,0002,285,568
7Jan 2, 2023 16:514,84838,620,95314,478,0001,034,0002,285,568
8Jan 2, 2023 16:514,87332,424,43214,556,0001,039,0002,285,568
9Jan 2, 2023 16:514,87851,073,54014,569,0001,040,0002,527,232
10Jan 2, 2023 16:515,05599,338,01016,177,45702,301,952
11Jan 2, 2023 16:515,07276,252,32616,230,26002,293,760
12Jan 2, 2023 16:515,085115,328,78616,270,44102,293,760