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 15, 2024 14:38джулисджулисScore: 5,260Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 15, 2024 14:385,16839,376,62716,537,00002,293,760
2Jun 15, 2024 14:385,17333,562,55315,521,0001,034,0002,375,680
3Jun 15, 2024 14:385,17635,184,58216,563,00002,371,584
4Jun 15, 2024 14:385,18134,377,02816,578,00002,371,584
5Jun 15, 2024 14:385,18233,610,18715,547,0001,036,0002,371,584
6Jun 15, 2024 14:385,19335,578,57815,581,0001,038,0002,371,584
7Jun 15, 2024 14:385,19630,300,65816,627,00002,371,584
8Jun 15, 2024 14:385,20142,248,54815,604,0001,040,0002,453,504
9Jun 15, 2024 14:385,21143,689,57315,632,0001,042,0002,371,584
10Jun 15, 2024 14:385,21141,341,91415,632,0001,042,0002,293,760
11Jun 15, 2024 14:385,21345,272,78116,683,00002,375,680
12Jun 15, 2024 14:385,22542,321,52316,720,00002,371,584
13Jun 15, 2024 14:385,26042,383,59214,852,0001,980,0002,445,312
14Jun 15, 2024 14:385,26940,275,93314,879,0001,983,0002,469,888
15Jun 15, 2024 14:385,27043,603,40215,872,000992,0002,293,760
16Jun 15, 2024 14:385,27340,075,56816,874,00002,371,584
17Jun 15, 2024 14:385,27345,578,47214,890,0001,985,0002,293,760
18Jun 15, 2024 14:385,28048,176,02514,909,0001,987,0002,375,680
19Jun 15, 2024 14:385,43671,285,63817,395,09402,244,608
20Jun 15, 2024 14:385,45567,082,50917,455,53102,236,416
21Jun 15, 2024 14:385,467116,909,38717,494,06202,240,512
22Jun 15, 2024 14:385,46873,880,81517,498,18602,375,680
23Jun 15, 2024 14:385,47276,452,53317,510,85702,371,584
24Jun 15, 2024 14:385,49881,343,53717,593,00002,236,416