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 3, 2024 20:26jeffplaisancejeffplaisanceScore: 4,400Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 20:264,36329,395,57412,965,000997,0002,277,376
2Aug 3, 2024 20:264,37828,402,45913,011,0001,000,0002,277,376
3Aug 3, 2024 20:264,38430,973,14813,027,0001,002,0002,531,328
4Aug 3, 2024 20:264,38833,998,01413,039,0001,003,0002,277,376
5Aug 3, 2024 20:264,39926,288,53413,072,0001,005,0002,273,280
6Aug 3, 2024 20:264,40035,914,98213,075,0001,005,0002,502,656
7Aug 3, 2024 20:264,40031,251,89613,075,0001,005,0002,498,560
8Aug 3, 2024 20:264,40733,771,33213,094,0001,007,0002,277,376
9Aug 3, 2024 20:264,40835,112,10913,100,0001,007,0002,490,368
10Aug 3, 2024 20:264,66256,303,93514,917,45102,244,608
11Aug 3, 2024 20:264,67757,490,68514,966,14302,367,488
12Aug 3, 2024 20:264,68063,088,36514,976,69402,240,512