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 8, 2024 19:21AndreyTSAndreyTSScore: 5,282Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 19:455,23241,672,24416,742,00002,273,280
2Jun 8, 2024 19:455,26539,786,41414,865,0001,982,0002,281,472
3Jun 8, 2024 19:215,26844,093,78414,875,0001,983,0002,289,664
4Jun 8, 2024 19:455,26849,559,80314,874,0001,983,0002,289,664
5Jun 8, 2024 19:455,27033,543,94416,863,00002,269,184
6Jun 8, 2024 19:215,27342,786,76616,875,00002,281,472
7Jun 8, 2024 19:215,27335,402,63314,889,0001,985,0002,289,664
8Jun 8, 2024 19:455,27341,587,89514,888,0001,985,0002,289,664
9Jun 8, 2024 19:455,27546,542,10414,894,0001,985,0002,289,664
10Jun 8, 2024 19:215,27752,640,39014,900,0001,986,0002,289,664
11Jun 8, 2024 19:215,28033,150,64214,909,0001,987,0002,273,280
12Jun 8, 2024 19:455,28142,703,18714,911,0001,988,0002,269,184
13Jun 8, 2024 19:215,28242,702,51714,915,0001,988,0002,289,664
14Jun 8, 2024 19:215,28938,317,54114,934,0001,991,0002,269,184
15Jun 8, 2024 19:455,29833,563,87714,958,0001,994,0002,269,184
16Jun 8, 2024 19:455,29833,403,61114,959,0001,994,0002,289,664
17Jun 8, 2024 19:215,30044,937,68514,964,0001,995,0002,277,376
18Jun 8, 2024 19:215,30834,768,49514,989,0001,998,0002,289,664
19Jun 8, 2024 19:215,48396,152,62017,545,62702,306,048
20Jun 8, 2024 19:215,49885,809,35817,592,10302,301,952
21Jun 8, 2024 19:215,50191,930,43817,604,53602,301,952
22Jun 8, 2024 19:455,51683,233,17717,652,25902,297,856
23Jun 8, 2024 19:455,53073,988,26717,696,65502,179,072
24Jun 8, 2024 19:455,53559,003,89417,711,44402,179,072