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 listDec 6, 2023 12:08Viktor IarmolaViktor IarmolaScore: 5,593Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 6, 2023 12:085,51042,097,53516,594,0001,037,0002,281,472
2Dec 6, 2023 12:085,53047,029,53116,656,0001,041,0002,281,472
3Dec 6, 2023 12:085,58034,849,19117,856,00002,281,472
4Dec 6, 2023 12:085,58944,893,99515,899,0001,987,0002,281,472
5Dec 6, 2023 12:085,59244,816,39716,901,000994,0002,404,352
6Dec 6, 2023 12:085,59337,523,95216,903,000994,0002,400,256
7Dec 6, 2023 12:085,59348,692,35317,899,00002,281,472
8Dec 6, 2023 12:085,59451,639,44317,902,00002,400,256
9Dec 6, 2023 12:085,59643,711,06916,914,000994,0002,281,472
10Dec 6, 2023 12:085,76584,242,99018,449,19602,293,760
11Dec 6, 2023 12:085,914121,580,69818,923,28202,301,952
12Dec 6, 2023 12:085,92179,854,83518,946,57402,293,760