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 25, 2024 21:05Dmitrii KravchenkoDmitrii KravchenkoScore: 4,883Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 25, 2024 21:054,87542,450,03613,520,0002,080,0002,281,472
2Nov 25, 2024 21:054,87637,791,29014,562,0001,040,0002,273,280
3Nov 25, 2024 21:054,87944,237,60114,572,0001,040,0002,281,472
4Nov 25, 2024 21:054,88331,358,84914,585,0001,041,0002,277,376
5Nov 25, 2024 21:054,88345,324,43113,544,0002,083,0002,281,472
6Nov 25, 2024 21:054,88641,941,13214,594,0001,042,0002,379,776
7Nov 25, 2024 21:054,88843,771,50314,600,0001,042,0002,281,472
8Nov 25, 2024 21:054,89345,958,86014,613,0001,043,0002,277,376
9Nov 25, 2024 21:054,91837,979,52514,687,0001,049,0002,281,472