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 listFeb 22, 2024 12:49Huy Duc LeHuy Duc LeScore: 5,278Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 12:495,21242,453,87415,636,0001,042,0002,293,760
2Feb 22, 2024 12:495,21333,359,48215,640,0001,042,0002,269,184
3Feb 22, 2024 12:495,23147,317,64115,694,0001,046,0002,514,944
4Feb 22, 2024 12:495,24941,426,53315,810,000988,0002,273,280
5Feb 22, 2024 12:495,26141,874,34515,783,0001,052,0002,351,104
6Feb 22, 2024 12:495,27250,834,48714,885,0001,984,0002,293,760
7Feb 22, 2024 12:495,27445,481,40215,884,000992,0002,523,136
8Feb 22, 2024 12:495,27445,479,30516,878,00002,277,376
9Feb 22, 2024 12:495,27449,310,01314,892,0001,985,0002,523,136
10Feb 22, 2024 12:495,27439,697,49215,885,000992,0002,269,184
11Feb 22, 2024 12:495,27546,750,89414,895,0001,986,0002,527,232
12Feb 22, 2024 12:495,27642,119,82714,898,0001,986,0002,535,424
13Feb 22, 2024 12:495,27848,381,41715,896,000993,0002,293,760
14Feb 22, 2024 12:495,28136,561,11414,911,0001,988,0002,355,200
15Feb 22, 2024 12:495,28443,621,72614,919,0001,989,0002,293,760
16Feb 22, 2024 12:495,29146,857,95415,935,000995,0002,269,184
17Feb 22, 2024 12:495,30340,258,12814,972,0001,996,0002,523,136
18Feb 22, 2024 12:495,31444,584,55515,004,0002,000,0002,293,760
19Feb 22, 2024 12:495,44482,036,80917,421,92902,183,168
20Feb 22, 2024 12:495,45894,452,79017,465,12602,306,048
21Feb 22, 2024 12:495,47073,290,28417,503,88802,306,048
22Feb 22, 2024 12:495,47084,885,03817,503,74602,297,856
23Feb 22, 2024 12:495,47488,203,75817,517,16902,293,760
24Feb 22, 2024 12:495,480106,767,31217,536,48602,297,856