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 18:33джулисджулисScore: 5,723Success
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 18:335,64743,692,89016,062,0002,007,0002,367,488
2Jun 8, 2024 18:325,67045,215,51716,128,0002,016,0002,367,488
3Jun 8, 2024 18:325,68441,576,01017,180,0001,010,0002,367,488
4Jun 8, 2024 18:335,69839,335,56417,222,0001,013,0002,293,760
5Jun 8, 2024 18:335,70136,361,99216,217,0002,027,0002,293,760
6Jun 8, 2024 18:325,71140,910,55416,244,0002,030,0002,482,176
7Jun 8, 2024 18:325,71244,112,10317,264,0001,015,0002,375,680
8Jun 8, 2024 18:325,71237,913,26416,247,0002,030,0002,367,488
9Jun 8, 2024 18:325,71444,339,10917,269,0001,015,0002,293,760
10Jun 8, 2024 18:335,71447,063,08917,271,0001,015,0002,478,080
11Jun 8, 2024 18:335,71640,555,05917,276,0001,016,0002,457,600
12Jun 8, 2024 18:325,72246,568,02317,294,0001,017,0002,367,488
13Jun 8, 2024 18:325,72339,986,12216,280,0002,035,0002,371,584
14Jun 8, 2024 18:335,72340,895,42217,297,0001,017,0002,367,488
15Jun 8, 2024 18:335,73341,424,32418,344,00002,375,680
16Jun 8, 2024 18:325,73549,692,84518,352,00002,293,760
17Jun 8, 2024 18:335,73639,966,54318,356,00002,375,680
18Jun 8, 2024 18:335,74838,411,29317,372,0001,021,0002,465,792
19Jun 8, 2024 18:335,92987,423,35118,971,52002,244,608
20Jun 8, 2024 18:335,93486,923,93218,988,95302,244,608
21Jun 8, 2024 18:325,94698,408,11419,026,95602,256,896
22Jun 8, 2024 18:325,95487,872,53719,052,32502,236,416
23Jun 8, 2024 18:335,96489,954,01819,083,40402,240,512
24Jun 8, 2024 18:325,97594,593,49219,120,98802,375,680