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 listFeb 22, 2024 13:01Huy Duc LeHuy Duc LeScore: 4,973Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 13:014,92441,266,78114,708,0001,050,0002,277,376
2Feb 22, 2024 13:014,95741,517,42613,879,0001,982,0002,527,232
3Feb 22, 2024 13:014,96042,044,08913,889,0001,984,0002,293,760
4Feb 22, 2024 13:014,96146,018,41213,890,0001,984,0002,269,184
5Feb 22, 2024 13:014,96833,334,28513,910,0001,987,0002,359,296
6Feb 22, 2024 13:014,96839,175,75214,904,000993,0002,527,232
7Feb 22, 2024 13:014,97332,916,58813,925,0001,989,0002,293,760
8Feb 22, 2024 13:014,98439,215,28013,955,0001,993,0002,273,280
9Feb 22, 2024 13:014,98532,401,22714,955,000997,0002,293,760
10Feb 22, 2024 13:015,15774,455,57516,501,31902,301,952
11Feb 22, 2024 13:015,18891,244,41316,602,49302,179,072
12Feb 22, 2024 13:015,26399,076,23716,842,96302,293,760