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 29, 2021 16:02Dmitry DolgopolovDmitry DolgopolovScore: 4,974Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 16:024,96128,226,25714,884,000992,0002,441,216
2May 29, 2021 16:024,96137,685,82013,891,0001,984,0002,445,312
3May 29, 2021 16:024,96140,729,25514,882,000992,0002,535,424
4May 29, 2021 16:024,96138,583,48213,891,0001,984,0002,449,408
5May 29, 2021 16:024,96339,242,33313,895,0001,985,0002,441,216
6May 29, 2021 16:024,96330,209,86313,898,0001,985,0002,535,424
7May 29, 2021 16:024,96443,113,53414,893,000992,0002,273,280
8May 29, 2021 16:024,96634,163,91713,906,0001,986,0002,535,424
9May 29, 2021 16:024,96632,153,56213,905,0001,986,0002,535,424
10May 29, 2021 16:024,96831,669,65913,912,0001,987,0002,453,504
11May 29, 2021 16:024,96932,787,01513,915,0001,987,0002,535,424
12May 29, 2021 16:024,97043,638,64514,843,0001,060,0002,273,280
13May 29, 2021 16:024,97439,771,25714,855,0001,061,0002,535,424
14May 29, 2021 16:024,98540,674,60013,958,0001,994,0002,535,424
15May 29, 2021 16:024,99447,452,07313,985,0001,997,0002,449,408
16May 29, 2021 16:024,99532,349,81714,985,000999,0002,535,424
17May 29, 2021 16:025,00232,749,54214,005,0002,000,0002,441,216
18May 29, 2021 16:025,00632,207,39714,018,0002,002,0002,535,424
19May 29, 2021 16:025,18486,560,48716,588,19202,207,744
20May 29, 2021 16:025,20579,758,48816,656,87802,207,744
21May 29, 2021 16:025,20869,708,72216,666,10702,195,456
22May 29, 2021 16:025,21057,126,77716,672,79502,211,840
23May 29, 2021 16:025,21774,603,24516,695,20202,195,456
24May 29, 2021 16:025,23872,269,83616,762,10902,203,648