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 listNov 10, 2024 06:25Viktor SuprunViktor SuprunScore: 840,545Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 10, 2024 06:25839,3382,712,126,1512,511,955,000173,927,0002,441,216
2Nov 10, 2024 06:25840,2952,716,049,6762,517,076,000171,868,0002,265,088
3Nov 10, 2024 06:25840,3012,725,639,6572,505,034,000183,929,0002,412,544
4Nov 10, 2024 06:25840,4862,713,429,8752,522,645,000166,910,0002,449,408
5Nov 10, 2024 06:25840,5452,714,901,7482,524,821,000164,923,0002,318,336
6Nov 10, 2024 06:25840,6102,714,915,1592,515,021,000174,931,0002,514,944
7Nov 10, 2024 06:25840,6402,715,848,0292,514,112,000175,937,0002,453,504
8Nov 10, 2024 06:25841,1202,720,878,6682,500,686,000190,899,0002,461,696
9Nov 10, 2024 06:25841,2282,726,446,7262,487,087,000204,842,0002,301,952