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 6, 2024 19:34spacecat8086spacecat8086Score: 7,263Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2024 19:347,22452,282,19821,107,0002,010,0002,289,664
2Nov 6, 2024 19:347,22952,417,62721,123,0002,011,0002,269,184
3Nov 6, 2024 19:347,23251,377,67022,137,0001,006,0002,269,184
4Nov 6, 2024 19:347,24153,965,30121,156,0002,014,0002,281,472
5Nov 6, 2024 19:347,26352,941,79921,220,0002,020,0002,273,280
6Nov 6, 2024 19:347,26950,370,61522,251,0001,011,0002,277,376
7Nov 6, 2024 19:347,30748,838,66722,367,0001,016,0002,273,280
8Nov 6, 2024 19:347,31048,451,58621,358,0002,034,0002,273,280
9Nov 6, 2024 19:347,32350,601,02522,414,0001,018,0002,289,664