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:56Ilya AniskovetsIlya AniskovetsScore: 5,287Success
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:565,26642,103,99015,860,000991,0002,265,088
2Aug 28, 2023 17:565,27044,862,35516,865,00002,383,872
3Aug 28, 2023 17:565,27244,601,87615,877,000992,0002,265,088
4Aug 28, 2023 17:565,27341,721,24414,888,0001,985,0002,387,968
5Aug 28, 2023 17:565,27741,192,77614,899,0001,986,0002,400,256
6Aug 28, 2023 17:565,28054,419,26915,902,000993,0002,265,088
7Aug 28, 2023 17:565,28736,117,49514,928,0001,990,0002,387,968
8Aug 28, 2023 17:565,29944,931,59015,959,000997,0002,265,088
9Aug 28, 2023 17:565,30936,781,82014,991,0001,998,0002,392,064
10Aug 28, 2023 17:565,47984,309,55617,532,90602,277,376
11Aug 28, 2023 17:565,48284,117,56117,542,43802,277,376
12Aug 28, 2023 17:565,50187,274,35917,603,93902,281,472