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 listAug 11, 2024 18:33vahookvahookScore: 4,511Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2024 18:264,47340,625,32714,315,00002,510,848
2Aug 11, 2024 18:264,47429,293,43013,295,0001,022,0002,392,064
3Aug 11, 2024 18:264,48139,296,10113,316,0001,024,0002,400,256
4Aug 11, 2024 18:334,48339,085,36714,346,00002,281,472
5Aug 11, 2024 18:264,48537,488,40913,328,0001,025,0002,281,472
6Aug 11, 2024 18:264,48736,184,02613,334,0001,025,0002,281,472
7Aug 11, 2024 18:264,48733,390,22613,333,0001,025,0002,400,256
8Aug 11, 2024 18:264,48833,168,90213,336,0001,025,0002,281,472
9Aug 11, 2024 18:334,49531,050,15214,384,00002,392,064
10Aug 11, 2024 18:264,49630,318,61214,386,00002,404,352
11Aug 11, 2024 18:334,49930,683,56313,370,0001,028,0002,396,160
12Aug 11, 2024 18:334,50638,936,90413,390,0001,030,0002,400,256
13Aug 11, 2024 18:334,51130,975,34613,404,0001,031,0002,281,472
14Aug 11, 2024 18:334,52433,334,42714,477,00002,281,472
15Aug 11, 2024 18:334,52631,528,45714,482,00002,396,160
16Aug 11, 2024 18:264,53234,433,64213,467,0001,035,0002,404,352
17Aug 11, 2024 18:334,53332,721,71913,470,0001,036,0002,281,472
18Aug 11, 2024 18:334,53831,846,16713,484,0001,037,0002,400,256
19Aug 11, 2024 18:264,72875,252,32615,130,83002,297,856
20Aug 11, 2024 18:334,73691,647,76915,156,39502,301,952
21Aug 11, 2024 18:334,73990,419,50315,165,24002,297,856
22Aug 11, 2024 18:264,73961,698,39915,163,24502,289,664
23Aug 11, 2024 18:334,74885,469,86715,194,73502,293,760
24Aug 11, 2024 18:264,75882,249,67815,226,15802,297,856