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 28, 2025 19:38Bohdan StorozhukBohdan StorozhukScore: 5,905Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 28, 2025 19:385,89647,753,10716,882,0001,986,0002,498,560
2Jan 28, 2025 19:385,89743,957,85417,878,000993,0002,330,624
3Jan 28, 2025 19:385,90146,371,28616,895,0001,987,0002,494,464
4Jan 28, 2025 19:385,90438,899,51716,904,0001,988,0002,330,624
5Jan 28, 2025 19:385,90543,624,54016,908,0001,989,0002,486,272
6Jan 28, 2025 19:385,91145,007,92518,914,00002,498,560
7Jan 28, 2025 19:385,91841,147,17417,943,000996,0002,494,464
8Jan 28, 2025 19:385,94452,425,36117,019,0002,002,0002,482,176
9Jan 28, 2025 19:385,96847,761,13817,089,0002,010,0002,318,336