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 listJun 5, 2021 00:33evgenikwtevgenikwtScore: 5,296Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2021 00:335,27144,201,64215,875,000992,0002,379,776
2Jun 5, 2021 00:335,27143,522,47616,868,00002,265,088
3Jun 5, 2021 00:335,27542,469,26514,894,0001,985,0002,387,968
4Jun 5, 2021 00:335,28147,890,47614,911,0001,988,0002,396,160
5Jun 5, 2021 00:335,28548,429,91815,919,000994,0002,392,064
6Jun 5, 2021 00:335,29349,375,84015,940,000996,0002,383,872
7Jun 5, 2021 00:335,29632,661,78614,954,0001,993,0002,527,232
8Jun 5, 2021 00:335,30433,830,24114,977,0001,997,0002,265,088
9Jun 5, 2021 00:335,30551,062,57414,978,0001,997,0002,375,680
10Jun 5, 2021 00:335,48783,346,45817,559,07802,289,664
11Jun 5, 2021 00:335,48980,572,24317,563,83602,289,664
12Jun 5, 2021 00:335,54488,609,48417,740,44902,273,280