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 30, 2024 10:35AnSaAnSaScore: 4,909Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 10:354,86631,535,19715,571,00002,289,664
2Jun 30, 2024 10:354,86834,483,29814,538,0001,038,0002,289,664
3Jun 30, 2024 10:354,87533,172,26314,561,0001,040,0002,510,848
4Jun 30, 2024 10:354,88632,555,14614,593,0001,042,0002,289,664
5Jun 30, 2024 10:354,90043,893,00814,636,0001,045,0002,289,664
6Jun 30, 2024 10:354,90131,122,12714,637,0001,045,0002,269,184
7Jun 30, 2024 10:354,90931,244,16714,661,0001,047,0002,289,664
8Jun 30, 2024 10:354,91241,674,00115,719,00002,265,088
9Jun 30, 2024 10:354,96035,476,69613,889,0001,984,0002,289,664
10Jun 30, 2024 10:355,14865,601,15816,475,07202,285,568
11Jun 30, 2024 10:355,16889,993,31616,537,28702,289,664
12Jun 30, 2024 10:355,18881,257,17016,600,98802,297,856