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 listApr 17, 2024 03:17Joad NacerJoad NacerScore: 5,324Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 03:175,29544,512,11914,950,0001,993,0002,289,664
2Apr 17, 2024 03:175,30334,279,75014,975,0001,996,0002,289,664
3Apr 17, 2024 03:175,30439,538,44914,976,0001,996,0002,289,664
4Apr 17, 2024 03:175,30538,891,71614,979,0001,997,0002,375,680
5Apr 17, 2024 03:175,30538,208,50314,980,0001,997,0002,289,664
6Apr 17, 2024 03:175,30736,448,51515,983,000998,0002,289,664
7Apr 17, 2024 03:175,32443,917,54215,032,0002,004,0002,289,664
8Apr 17, 2024 03:175,33841,122,07215,071,0002,009,0002,273,280
9Apr 17, 2024 03:175,35736,396,82616,134,0001,008,0002,289,664
10Apr 17, 2024 03:175,53392,627,57517,704,54102,179,072
11Apr 17, 2024 03:175,54286,770,34217,733,75302,301,952
12Apr 17, 2024 03:175,59176,069,94317,890,03902,293,760