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 listMay 19, 2021 16:43Sergey StreminSergey StreminScore: 5,448Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 16:435,4063,039,709,18317,298,00002,273,280
2May 19, 2021 16:435,4256,047,565,35816,340,0001,021,0002,281,472
3May 19, 2021 16:435,4261,043,031,18817,363,00002,277,376
4May 19, 2021 16:435,4282,040,420,66816,349,0001,021,0002,273,280
5May 19, 2021 16:435,4297,041,992,89215,329,0002,043,0002,277,376
6May 19, 2021 16:435,4381,038,788,38716,377,0001,023,0002,281,472
7May 19, 2021 16:435,4388,044,791,50317,403,00002,277,376
8May 19, 2021 16:435,4401,043,709,08116,384,0001,024,0002,383,872
9May 19, 2021 16:435,4403,038,326,88717,409,00002,277,376
10May 19, 2021 16:435,4429,040,578,67716,391,0001,024,0002,277,376
11May 19, 2021 16:435,4478,046,142,18715,379,0002,050,0002,281,472
12May 19, 2021 16:435,4477,039,148,40815,379,0002,050,0002,277,376
13May 19, 2021 16:435,4489,043,817,31616,410,0001,025,0002,273,280
14May 19, 2021 16:435,4536,045,575,55417,449,00002,281,472
15May 19, 2021 16:435,4562,044,050,60217,459,00002,277,376
16May 19, 2021 16:435,4639,048,814,23716,454,0001,028,0002,281,472
17May 19, 2021 16:435,4647,042,746,66415,429,0002,057,0002,277,376
18May 19, 2021 16:435,47539,759,30117,521,00002,363,392
19May 19, 2021 16:435,6594,077,715,78218,108,93702,297,856
20May 19, 2021 16:435,6597,098,594,44718,109,34202,289,664
21May 19, 2021 16:435,6827,080,973,04918,181,47902,297,856
22May 19, 2021 16:435,6861,084,493,00818,195,15602,293,760
23May 19, 2021 16:435,6915,081,445,90018,210,23102,289,664
24May 19, 2021 16:435,6954,072,808,33318,222,79602,293,760