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 19, 2024 03:28matsuoka-601matsuoka-601Score: 5,057Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2024 03:285,01934,821,22815,057,0001,003,0002,285,568
2Jan 19, 2024 03:285,02938,984,51314,081,0002,011,0002,285,568
3Jan 19, 2024 03:285,03134,057,25914,086,0002,012,0002,285,568
4Jan 19, 2024 03:285,04336,100,08014,119,0002,017,0002,285,568
5Jan 19, 2024 03:285,04433,003,33415,133,0001,008,0002,285,568
6Jan 19, 2024 03:285,04542,136,07215,136,0001,009,0002,285,568
7Jan 19, 2024 03:285,05743,116,07915,172,0001,011,0002,285,568
8Jan 19, 2024 03:285,06638,042,65214,186,0002,026,0002,285,568
9Jan 19, 2024 03:285,08033,128,33814,224,0002,032,0002,531,328
10Jan 19, 2024 03:285,178107,454,52516,569,70002,310,144
11Jan 19, 2024 03:285,18090,371,23516,577,59802,301,952
12Jan 19, 2024 03:285,20290,594,22616,646,37502,306,048