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 listSep 23, 2024 00:37vahookvahookScore: 4,267Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 21, 2025 16:524,24830,029,97313,594,00002,494,464
2Sep 21, 2024 16:194,25133,195,38913,602,00002,277,376
3Sep 21, 2024 16:194,25330,948,52613,610,00002,277,376
4Sep 21, 2024 16:194,25432,064,41013,613,00002,277,376
5Sep 21, 2024 16:194,25729,730,37413,623,00002,498,560
6Sep 21, 2024 16:194,25831,403,49113,627,00002,498,560
7Sep 21, 2024 16:194,25829,646,43013,627,00002,498,560
8Apr 21, 2025 16:524,26033,331,61813,633,00002,494,464
9Sep 21, 2024 16:194,26128,959,77913,636,00002,535,424
10Apr 21, 2025 16:524,26230,856,01013,638,00002,498,560
11Sep 23, 2024 00:374,26731,095,60413,654,00002,502,656
12Sep 21, 2024 16:194,26842,392,48913,657,00002,502,656
13Sep 23, 2024 00:374,27028,685,34413,665,00002,273,280
14Sep 21, 2024 16:194,27029,435,38513,663,00002,498,560
15Sep 23, 2024 00:364,27329,377,78213,675,00002,498,560
16Sep 23, 2024 00:374,28033,981,48212,642,0001,053,0002,490,368
17Sep 23, 2024 00:364,28529,677,49912,659,0001,054,0002,498,560
18Sep 23, 2024 00:364,28730,794,29312,664,0001,055,0002,535,424
19Sep 23, 2024 00:374,28834,885,39213,721,00002,506,752
20Sep 23, 2024 00:374,29229,550,85413,734,00002,490,368
21Sep 23, 2024 00:374,33332,448,66112,876,000990,0002,277,376