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 listDec 21, 2024 09:20LaihoLaihoScore: 56,216Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2024 09:2056,187209,923,958149,833,00029,966,0002,359,296
2Dec 21, 2024 09:2056,192204,993,847150,845,00028,970,0002,363,392
3Dec 21, 2024 09:2056,197210,306,038146,861,00032,968,0002,285,568
4Dec 21, 2024 09:2056,214206,248,580144,907,00034,977,0002,285,568
5Dec 21, 2024 09:2056,216211,995,303150,910,00028,982,0002,285,568
6Dec 21, 2024 09:2056,231209,077,418146,951,00032,989,0002,285,568
7Dec 21, 2024 09:2056,233205,208,830144,955,00034,989,0002,285,568
8Dec 21, 2024 09:2056,246202,717,947153,989,00025,998,0002,371,584
9Dec 21, 2024 09:2056,483208,019,692151,787,00028,959,0002,285,568