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 13, 2021 21:50evgenikwtevgenikwtScore: 5,295Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 21:505,26144,139,64115,844,000990,0002,265,088
2Jun 13, 2021 21:505,27051,484,45414,880,0001,984,0002,387,968
3Jun 13, 2021 21:505,27341,094,69414,890,0001,985,0002,392,064
4Jun 13, 2021 21:505,27335,873,71515,883,000992,0002,396,160
5Jun 13, 2021 21:505,27828,315,95716,889,00002,379,776
6Jun 13, 2021 21:505,29135,937,77814,939,0001,991,0002,265,088
7Jun 13, 2021 21:505,29537,558,31014,950,0001,993,0002,383,872
8Jun 13, 2021 21:505,30348,438,92514,972,0001,996,0002,265,088
9Jun 13, 2021 21:505,30637,343,93914,981,0001,997,0002,265,088
10Jun 13, 2021 21:505,46862,963,15917,497,87202,273,280
11Jun 13, 2021 21:505,48078,972,97617,537,09802,277,376
12Jun 13, 2021 21:505,50275,130,90417,605,63702,269,184