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 listAug 28, 2023 17:57Ilya AniskovetsIlya AniskovetsScore: 5,284Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 28, 2023 17:575,27345,842,21014,890,0001,985,0002,265,088
2Aug 28, 2023 17:575,27744,839,84714,901,0001,986,0002,392,064
3Aug 28, 2023 17:575,27835,380,96615,898,000993,0002,396,160
4Aug 28, 2023 17:575,27941,517,08514,906,0001,987,0002,265,088
5Aug 28, 2023 17:575,28046,686,53715,902,000993,0002,265,088
6Aug 28, 2023 17:575,28338,194,92815,913,000994,0002,265,088
7Aug 28, 2023 17:575,28441,227,94615,914,000994,0002,527,232
8Aug 28, 2023 17:575,28448,012,76215,916,000994,0002,265,088
9Aug 28, 2023 17:575,29543,123,73615,948,000996,0002,392,064
10Aug 28, 2023 17:575,47290,234,32517,509,56402,277,376
11Aug 28, 2023 17:575,48981,397,94817,564,29402,244,608
12Aug 28, 2023 17:575,49576,052,46917,585,22202,285,568