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 listJun 9, 2024 19:35AnSaAnSaScore: 5,888Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 19:025,79344,950,39917,508,0001,029,0002,277,376
2Jun 9, 2024 19:355,82046,115,44417,589,0001,034,0002,281,472
3Jun 9, 2024 19:355,82235,204,31316,560,0002,070,0002,281,472
4Jun 9, 2024 19:355,82544,547,76317,605,0001,035,0002,277,376
5Jun 9, 2024 19:355,82538,402,12017,604,0001,035,0002,281,472
6Jun 9, 2024 19:025,83144,857,47318,660,00002,277,376
7Jun 9, 2024 19:025,83544,436,59917,635,0001,037,0002,396,160
8Jun 9, 2024 19:025,83737,287,22618,679,00002,281,472
9Jun 9, 2024 19:025,83849,203,33818,680,00002,281,472
10Jun 9, 2024 19:355,83847,573,57618,681,00002,269,184
11Jun 9, 2024 19:355,83934,569,92516,719,0001,967,0002,281,472
12Jun 9, 2024 19:025,84334,841,44917,659,0001,038,0002,281,472
13Jun 9, 2024 19:355,88845,170,08015,868,0002,975,0002,281,472
14Jun 9, 2024 19:355,88945,890,50517,853,000991,0002,281,472
15Jun 9, 2024 19:025,89046,182,44116,865,0001,984,0002,273,280
16Jun 9, 2024 19:355,89447,196,86616,877,0001,985,0002,277,376
17Jun 9, 2024 19:025,89645,314,59015,888,0002,979,0002,277,376
18Jun 9, 2024 19:025,90245,434,75616,899,0001,988,0002,379,776
19Jun 9, 2024 19:026,08781,809,47619,479,03502,183,168
20Jun 9, 2024 19:026,10291,946,42619,527,59102,179,072
21Jun 9, 2024 19:356,10680,902,55419,539,99502,179,072
22Jun 9, 2024 19:026,12893,181,92519,610,33102,297,856
23Jun 9, 2024 19:356,13079,445,89819,616,54302,301,952
24Jun 9, 2024 19:356,15591,830,64919,694,40502,174,976