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 8, 2024 19:05AndreyTSAndreyTSScore: 5,310Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 19:055,28134,382,97615,906,000994,0002,289,664
2Jun 8, 2024 19:055,28942,420,35215,930,000995,0002,265,088
3Jun 8, 2024 19:055,28932,491,10614,935,0001,991,0002,289,664
4Jun 8, 2024 19:055,29345,113,26914,947,0001,992,0002,289,664
5Jun 8, 2024 19:055,29842,934,79915,957,000997,0002,269,184
6Jun 8, 2024 19:055,30546,100,40914,980,0001,997,0002,289,664
7Jun 8, 2024 19:055,31041,484,41914,994,0001,999,0002,269,184
8Jun 8, 2024 19:055,31537,747,97015,008,0002,001,0002,289,664
9Jun 8, 2024 19:055,32633,624,24815,038,0002,005,0002,289,664
10Jun 8, 2024 19:055,52195,776,22217,667,89602,306,048
11Jun 8, 2024 19:055,53887,579,74217,723,00702,293,760
12Jun 8, 2024 19:055,58197,371,00917,859,74802,183,168