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 7, 2024 01:47zielajzielajScore: 4,677Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 7, 2024 01:474,64432,865,11214,862,00002,273,280
2Aug 7, 2024 01:474,64637,818,51913,876,000991,0002,289,664
3Aug 7, 2024 01:474,64734,040,29413,879,000991,0002,277,376
4Aug 7, 2024 01:474,66443,096,52213,930,000995,0002,277,376
5Aug 7, 2024 01:474,66936,345,60112,949,0001,992,0002,269,184
6Aug 7, 2024 01:474,67333,645,21313,956,000996,0002,289,664
7Aug 7, 2024 01:474,67745,807,56512,970,0001,995,0002,289,664
8Aug 7, 2024 01:474,67834,385,75812,974,0001,996,0002,285,568
9Aug 7, 2024 01:474,71046,402,50213,063,0002,009,0002,269,184
10Aug 7, 2024 01:474,88281,777,71615,623,46302,187,264
11Aug 7, 2024 01:474,90858,729,19715,704,65502,310,144
12Aug 7, 2024 01:474,94590,112,00215,822,57902,306,048