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 listMar 18, 2025 13:39wainCGPwainCGPScore: 5,462Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 18, 2025 13:275,40440,027,84116,275,0001,017,0002,277,376
2Mar 17, 2025 14:435,42442,379,30016,337,0001,021,0002,289,664
3Mar 17, 2025 15:515,44347,350,01817,416,00002,375,680
4Mar 17, 2025 14:435,44541,097,51916,400,0001,025,0002,289,664
5Mar 18, 2025 13:395,45136,872,22116,417,0001,026,0002,289,664
6Mar 17, 2025 14:435,45535,886,85515,403,0002,053,0002,277,376
7Mar 17, 2025 14:435,45633,885,58415,406,0002,054,0002,289,664
8Mar 17, 2025 14:435,45940,724,40516,441,0001,027,0002,289,664
9Mar 17, 2025 15:515,46039,183,34115,416,0002,055,0002,285,568
10Mar 17, 2025 14:435,46239,827,70816,450,0001,028,0002,273,280
11Mar 18, 2025 13:275,46246,368,61216,451,0001,028,0002,289,664
12Mar 18, 2025 13:395,46339,485,44317,481,00002,289,664
13Mar 18, 2025 13:395,46947,125,39016,473,0001,029,0002,367,488
14Mar 17, 2025 15:515,47539,024,44316,490,0001,030,0002,289,664
15Mar 18, 2025 13:275,47941,670,44516,502,0001,031,0002,289,664
16Mar 17, 2025 14:435,48341,737,89116,513,0001,032,0002,265,088
17Mar 17, 2025 14:435,48440,245,91416,517,0001,032,0002,269,184
18Mar 17, 2025 14:435,49345,128,15816,545,0001,034,0002,289,664