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 23, 2024 00:33MatthiasMatthiasScore: 5,694Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 23, 2024 00:335,67741,113,13216,148,0002,018,0002,289,664
2Nov 23, 2024 00:335,67940,091,51716,155,0002,019,0002,289,664
3Nov 23, 2024 00:335,68845,389,66316,180,0002,022,0002,269,184
4Nov 23, 2024 00:335,69037,995,88416,185,0002,023,0002,273,280
5Nov 23, 2024 00:335,69443,378,44016,198,0002,024,0002,273,280
6Nov 23, 2024 00:335,70045,097,67116,215,0002,026,0002,289,664
7Nov 23, 2024 00:335,70239,250,08817,234,0001,013,0002,289,664
8Nov 23, 2024 00:335,70945,393,49216,239,0002,029,0002,289,664
9Nov 23, 2024 00:335,74541,640,24416,343,0002,042,0002,355,200