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 20, 2024 11:37Matt StuchlikMatt StuchlikScore: 5,063Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2024 11:375,05236,884,36514,145,0002,020,0002,289,664
2Jul 20, 2024 11:375,06036,859,28414,168,0002,024,0002,277,376
3Jul 20, 2024 11:375,06037,705,86814,168,0002,024,0002,510,848
4Jul 20, 2024 11:375,06135,714,85614,171,0002,024,0002,289,664
5Jul 20, 2024 11:375,06236,875,52214,173,0002,024,0002,519,040
6Jul 20, 2024 11:375,06339,956,25714,175,0002,025,0002,289,664
7Jul 20, 2024 11:375,06337,466,89215,189,0001,012,0002,387,968
8Jul 20, 2024 11:375,06436,111,64314,179,0002,025,0002,289,664
9Jul 20, 2024 11:375,09435,345,37914,264,0002,037,0002,281,472
10Jul 20, 2024 11:375,34970,589,28017,116,87802,285,568
11Jul 20, 2024 11:375,36177,670,25917,153,77202,285,568
12Jul 20, 2024 11:375,37792,475,89017,205,28802,289,664