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 15, 2021 22:22Yuriy LyfenkoYuriy LyfenkoScore: 5,459Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 22:225,42544,827,59216,339,0001,021,0002,260,992
2May 15, 2021 22:225,43042,283,37916,354,0001,022,0002,387,968
3May 15, 2021 22:225,43248,046,19516,359,0001,022,0002,392,064
4May 15, 2021 22:225,43641,321,47216,371,0001,023,0002,383,872
5May 15, 2021 22:225,43840,324,27515,353,0002,047,0002,265,088
6May 15, 2021 22:225,43935,722,46614,333,0003,071,0002,519,040
7May 15, 2021 22:225,44938,567,81515,387,0002,051,0002,523,136
8May 15, 2021 22:225,44934,766,28716,413,0001,025,0002,387,968
9May 15, 2021 22:225,45138,923,26117,444,00002,392,064
10May 15, 2021 22:225,45335,560,51815,397,0002,052,0002,396,160
11May 15, 2021 22:225,45538,051,81016,429,0001,026,0002,387,968
12May 15, 2021 22:225,45642,896,79716,433,0001,027,0002,523,136
13May 15, 2021 22:225,45940,212,19016,443,0001,027,0002,260,992
14May 15, 2021 22:225,46233,732,59916,450,0001,028,0002,510,848
15May 15, 2021 22:225,46343,539,48516,453,0001,028,0002,387,968
16May 15, 2021 22:225,46342,432,77315,425,0002,056,0002,265,088
17May 15, 2021 22:225,46538,456,10317,487,00002,387,968
18May 15, 2021 22:225,47937,086,22117,534,00002,383,872
19May 15, 2021 22:225,65991,464,46018,109,47502,277,376
20May 15, 2021 22:225,67582,922,40918,160,97002,269,184
21May 15, 2021 22:225,67568,786,20018,158,42502,281,472
22May 15, 2021 22:225,68560,876,95118,190,74802,277,376
23May 15, 2021 22:225,69962,418,85818,237,29902,273,280
24May 15, 2021 22:225,71586,257,24518,288,83802,273,280