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 listMar 11, 2025 20:55Drew GarciaDrew GarciaScore: 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
1Mar 11, 2025 20:555,03138,629,08514,087,0002,012,0002,269,184
2Mar 11, 2025 20:555,05132,612,16814,143,0002,020,0002,400,256
3Mar 11, 2025 20:555,05332,180,52115,160,0001,010,0002,392,064
4Mar 11, 2025 20:555,05537,133,09414,155,0002,022,0002,400,256
5Mar 11, 2025 20:555,05738,311,16614,160,0002,022,0002,269,184
6Mar 11, 2025 20:555,06133,326,23114,171,0002,024,0002,400,256
7Mar 11, 2025 20:555,08933,052,84914,251,0002,035,0002,269,184
8Mar 11, 2025 20:555,09640,907,11414,268,0002,038,0002,404,352
9Mar 11, 2025 20:555,09638,906,45215,287,0001,019,0002,269,184