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 listJul 20, 2024 15:40Matt StuchlikMatt StuchlikScore: 4,780Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2024 15:404,75738,460,39613,193,0002,029,0002,289,664
2Jul 20, 2024 15:404,75832,819,18613,197,0002,030,0002,277,376
3Jul 20, 2024 15:404,76233,344,95113,207,0002,031,0002,273,280
4Jul 20, 2024 15:404,76340,401,17613,208,0002,032,0002,289,664
5Jul 20, 2024 15:404,77143,130,69713,233,0002,035,0002,289,664
6Jul 20, 2024 15:404,77231,909,77113,234,0002,036,0002,277,376
7Jul 20, 2024 15:404,78031,475,13113,256,0002,039,0002,289,664
8Jul 20, 2024 15:404,78643,144,50814,295,0001,021,0002,273,280
9Jul 20, 2024 15:404,78631,878,82613,274,0002,042,0002,289,664
10Jul 20, 2024 15:405,02882,620,49016,090,64002,289,664
11Jul 20, 2024 15:405,04995,047,69116,157,46402,289,664
12Jul 20, 2024 15:405,07197,575,87716,227,69902,289,664