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:07Matt StuchlikMatt StuchlikScore: 5,490Success
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:075,43439,473,79016,366,0001,022,0002,289,664
2Jul 19, 2024 10:075,45339,876,15117,451,00002,289,664
3Jul 19, 2024 10:075,45640,017,61316,432,0001,027,0002,289,664
4Jul 19, 2024 10:075,45838,855,36516,439,0001,027,0002,265,088
5Jul 19, 2024 10:075,46139,868,74816,448,0001,028,0002,265,088
6Jul 19, 2024 10:075,47840,947,16216,497,0001,031,0002,269,184
7Jul 19, 2024 10:075,49033,243,86116,534,0001,033,0002,281,472
8Jul 19, 2024 10:075,49235,578,54616,540,0001,033,0002,289,664
9Jul 19, 2024 10:075,49939,114,52016,563,0001,035,0002,531,328
10Jul 19, 2024 10:075,69059,963,03818,208,36002,297,856
11Jul 19, 2024 10:075,699104,574,30618,237,02802,301,952
12Jul 19, 2024 10:075,71954,105,32818,301,89102,301,952