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 listJul 19, 2024 10:00Matt StuchlikMatt StuchlikScore: 5,462Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2024 10:005,42443,652,09917,357,00002,273,280
2Jul 19, 2024 10:005,42645,398,39215,321,0002,042,0002,289,664
3Jul 19, 2024 10:005,42741,193,04115,323,0002,043,0002,281,472
4Jul 19, 2024 10:005,43538,441,70116,368,0001,023,0002,285,568
5Jul 19, 2024 10:005,45543,639,58316,431,0001,026,0002,289,664
6Jul 19, 2024 10:005,46041,189,93016,445,0001,027,0002,269,184
7Jul 19, 2024 10:005,46240,824,10416,451,0001,028,0002,289,664
8Jul 19, 2024 10:005,46443,050,16817,486,00002,523,136
9Jul 19, 2024 10:005,46533,139,09416,459,0001,028,0002,379,776
10Jul 19, 2024 10:005,65565,050,14418,095,62602,179,072
11Jul 19, 2024 10:005,69397,084,41318,217,50602,301,952
12Jul 19, 2024 10:005,70087,850,74318,240,31102,301,952