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 28, 2021 20:45Dmitry DolgopolovDmitry DolgopolovScore: 5,018Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 20:454,98139,533,35713,948,0001,992,0002,269,184
2May 28, 2021 20:454,98337,990,52713,954,0001,993,0002,441,216
3May 28, 2021 20:454,99532,171,17513,987,0001,998,0002,273,280
4May 28, 2021 20:454,99940,371,11213,998,0001,999,0002,535,424
5May 28, 2021 20:454,99938,683,68113,999,0001,999,0002,449,408
6May 28, 2021 20:455,00146,901,28314,003,0002,000,0002,273,280
7May 28, 2021 20:455,00635,499,68514,018,0002,002,0002,535,424
8May 28, 2021 20:455,00939,195,49214,027,0002,003,0002,441,216
9May 28, 2021 20:455,01239,651,08915,036,0001,002,0002,445,312
10May 28, 2021 20:455,01332,726,17015,041,0001,002,0002,437,120
11May 28, 2021 20:455,01628,498,76415,048,0001,003,0002,441,216
12May 28, 2021 20:455,01640,390,87214,046,0002,006,0002,273,280
13May 28, 2021 20:455,01837,991,29314,049,0002,007,0002,535,424
14May 28, 2021 20:455,02240,128,01814,062,0002,008,0002,445,312
15May 28, 2021 20:455,02934,525,91914,083,0002,011,0002,445,312
16May 28, 2021 20:455,03032,930,10114,085,0002,012,0002,445,312
17May 28, 2021 20:455,03839,750,30314,105,0002,015,0002,535,424
18May 28, 2021 20:455,04638,948,78514,130,0002,018,0002,269,184
19May 28, 2021 20:455,23640,510,64516,753,64402,260,992
20May 28, 2021 20:455,25075,010,78916,799,24702,195,456
21May 28, 2021 20:455,25140,319,58116,804,12002,211,840
22May 28, 2021 20:455,26085,289,83516,831,58102,203,648
23May 28, 2021 20:455,28382,421,64916,906,93502,207,744
24May 28, 2021 20:455,29243,504,13516,934,13802,211,840