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 listMay 30, 2022 12:29Keichi TakahashiKeichi TakahashiScore: 5,436Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2022 12:315,28140,442,03814,911,0001,988,0002,379,776
2May 30, 2022 12:315,29345,792,27714,945,0001,992,0002,383,872
3May 30, 2022 12:315,29342,915,65015,941,000996,0002,396,160
4May 30, 2022 12:315,29846,091,41915,955,000997,0002,396,160
5May 30, 2022 12:315,30044,267,44115,962,000997,0002,265,088
6May 30, 2022 12:315,32942,191,15415,048,0002,006,0002,265,088
7May 30, 2022 12:315,33044,521,34916,054,0001,003,0002,392,064
8May 30, 2022 12:315,34044,915,37815,078,0002,010,0002,387,968
9May 30, 2022 12:315,34742,914,92615,098,0002,013,0002,387,968
10May 30, 2022 12:295,41240,055,14817,319,00002,265,088
11May 30, 2022 12:295,41846,208,41917,337,00002,265,088
12May 30, 2022 12:295,42450,648,28917,356,00002,392,064
13May 30, 2022 12:295,43646,160,06317,396,00002,265,088
14May 30, 2022 12:295,43848,673,92817,401,00002,383,872
15May 30, 2022 12:295,44645,674,47517,427,00002,392,064
16May 30, 2022 12:295,44746,840,62217,430,00002,265,088
17May 30, 2022 12:295,45247,835,87716,421,0001,026,0002,265,088
18May 30, 2022 12:295,45644,485,46017,459,00002,387,968
19May 30, 2022 12:315,48789,109,51117,559,38602,244,608
20May 30, 2022 12:295,49590,578,91217,585,39502,289,664
21May 30, 2022 12:295,49888,494,07917,592,14802,281,472
22May 30, 2022 12:315,50189,567,87517,601,70302,281,472
23May 30, 2022 12:315,50574,489,20017,614,74002,277,376
24May 30, 2022 12:295,52989,450,13217,692,79102,281,472