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 listJan 2, 2023 14:52Jack FrigaardJack FrigaardScore: 5,522Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 14:525,49638,226,28516,554,0001,034,0002,527,232
2Jan 2, 2023 14:525,49836,036,82616,560,0001,035,0002,285,568
3Jan 2, 2023 14:525,50344,957,24716,575,0001,035,0002,277,376
4Jan 2, 2023 14:525,50444,935,56716,578,0001,036,0002,527,232
5Jan 2, 2023 14:525,51034,569,10917,633,00002,269,184
6Jan 2, 2023 14:525,51536,307,51016,609,0001,038,0002,285,568
7Jan 2, 2023 14:525,52240,075,77516,630,0001,039,0002,285,568
8Jan 2, 2023 14:525,52545,855,44516,641,0001,040,0002,273,280
9Jan 2, 2023 14:525,53042,340,68816,655,0001,040,0002,285,568
10Jan 2, 2023 14:525,75288,474,59118,407,60602,289,664
11Jan 2, 2023 14:525,78968,000,85918,526,13602,306,048
12Jan 2, 2023 14:525,84291,446,93418,694,78502,289,664