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 listMar 17, 2023 23:45Alexander MonakovAlexander MonakovScore: 4,702Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 17, 2023 23:454,65631,032,61712,912,0001,986,0002,490,368
2Mar 17, 2023 23:454,65942,227,30913,915,000993,0002,490,368
3Mar 17, 2023 23:454,68734,343,64713,999,000999,0002,269,184
4Mar 17, 2023 23:454,69430,155,75514,021,0001,001,0002,531,328
5Mar 17, 2023 23:454,69539,729,44913,020,0002,003,0002,482,176
6Mar 17, 2023 23:454,69936,248,32614,036,0001,002,0002,490,368
7Mar 17, 2023 23:454,70234,845,77814,044,0001,003,0002,486,272
8Mar 17, 2023 23:454,70542,243,35214,054,0001,003,0002,486,272
9Mar 17, 2023 23:454,70631,087,70113,051,0002,007,0002,482,176
10Mar 17, 2023 23:454,91484,392,84315,725,09402,240,512
11Mar 17, 2023 23:454,92287,612,43215,751,43702,232,320
12Mar 17, 2023 23:454,92461,600,81715,755,43302,240,512