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 14, 2024 20:48джулисджулисScore: 5,687Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 14, 2024 20:485,66241,154,51018,118,00002,289,664
2Jun 14, 2024 20:485,66239,019,51017,112,0001,006,0002,265,088
3Jun 14, 2024 20:485,66434,302,76218,126,00002,289,664
4Jun 14, 2024 20:485,67140,444,50617,140,0001,008,0002,289,664
5Jun 14, 2024 20:485,67340,829,43617,146,0001,008,0002,269,184
6Jun 14, 2024 20:485,67841,180,18017,160,0001,009,0002,273,280
7Jun 14, 2024 20:485,67940,995,35617,165,0001,009,0002,269,184
8Jun 14, 2024 20:485,68140,714,58616,159,0002,019,0002,265,088
9Jun 14, 2024 20:485,68241,665,85517,171,0001,010,0002,289,664
10Jun 14, 2024 20:485,68238,884,74216,162,0002,020,0002,387,968
11Jun 14, 2024 20:485,68542,918,89416,170,0002,021,0002,519,040
12Jun 14, 2024 20:485,68646,777,26116,175,0002,021,0002,289,664
13Jun 14, 2024 20:485,68739,053,91916,176,0002,022,0002,289,664
14Jun 14, 2024 20:485,69441,179,07017,208,0001,012,0002,289,664
15Jun 14, 2024 20:485,69847,317,16516,208,0002,026,0002,289,664
16Jun 14, 2024 20:485,70040,609,60016,215,0002,026,0002,269,184
17Jun 14, 2024 20:485,70140,808,24516,217,0002,027,0002,289,664
18Jun 14, 2024 20:485,70442,160,69717,239,0001,014,0002,273,280
19Jun 14, 2024 20:485,90794,112,55418,903,79402,179,072
20Jun 14, 2024 20:485,92085,806,90818,943,50302,293,760
21Jun 14, 2024 20:485,92184,352,64618,947,22502,297,856
22Jun 14, 2024 20:485,94885,276,70219,034,80402,179,072
23Jun 14, 2024 20:485,95175,158,98919,042,65202,301,952
24Jun 14, 2024 20:485,96389,278,22319,082,66102,297,856