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 16, 2023 08:50Alexander MonakovAlexander MonakovScore: 8,191Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2023 08:505,51793,000,91517,653,79502,240,512
2Mar 16, 2023 08:505,52287,070,69117,671,33402,244,608
3Mar 16, 2023 08:505,53290,632,53717,703,86702,240,512
4Mar 16, 2023 08:508,14847,296,44219,053,0007,019,0002,265,088
5Mar 16, 2023 08:508,17749,796,41116,103,00010,064,0002,527,232
6Mar 16, 2023 08:508,18749,558,63821,160,0005,038,0002,383,872
7Mar 16, 2023 08:508,19146,171,42416,130,00010,081,0002,383,872
8Mar 16, 2023 08:508,20847,278,57614,142,00012,122,0002,318,336
9Mar 16, 2023 08:508,21953,199,66121,244,0005,058,0002,387,968
10Mar 16, 2023 08:508,23646,608,81919,260,0007,095,0002,314,240
11Mar 16, 2023 08:508,26848,055,93419,334,0007,123,0002,318,336
12Mar 16, 2023 08:508,28247,748,70317,328,0009,174,0002,523,136