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 11, 2021 22:04Yuriy LyfenkoYuriy LyfenkoScore: 5,605Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 22:045,58448,367,26116,877,000992,0002,523,136
2May 11, 2021 22:045,58443,077,79814,891,0002,978,0002,396,160
3May 11, 2021 22:045,58448,453,33716,878,000992,0002,260,992
4May 11, 2021 22:045,58636,257,25315,889,0001,986,0002,392,064
5May 11, 2021 22:045,58634,333,03015,889,0001,986,0002,260,992
6May 11, 2021 22:045,58732,693,56115,891,0001,986,0002,400,256
7May 11, 2021 22:045,59550,043,55017,903,00002,523,136
8May 11, 2021 22:045,59645,270,76615,918,0001,989,0002,396,160
9May 11, 2021 22:045,59644,753,86916,854,0001,053,0002,396,160
10May 11, 2021 22:045,59748,024,47617,910,00002,400,256
11May 11, 2021 22:045,59833,994,89216,920,000995,0002,523,136
12May 11, 2021 22:045,60350,356,39815,938,0001,992,0002,523,136
13May 11, 2021 22:045,60548,499,41515,943,0001,992,0002,523,136
14May 11, 2021 22:045,60838,512,81815,951,0001,993,0002,523,136
15May 11, 2021 22:045,60842,696,09216,948,000996,0002,392,064
16May 11, 2021 22:045,61446,770,66315,970,0001,996,0002,396,160
17May 11, 2021 22:045,61844,917,94416,979,000998,0002,523,136
18May 11, 2021 22:045,62442,695,56115,999,0001,999,0002,473,984
19May 11, 2021 22:045,72979,001,97118,334,05802,277,376
20May 11, 2021 22:045,75566,683,84918,415,03002,273,280
21May 11, 2021 22:045,76576,848,90118,448,78502,277,376
22May 11, 2021 22:045,78495,208,89218,508,29302,273,280
23May 11, 2021 22:045,78994,536,45618,525,98702,273,280
24May 11, 2021 22:045,79893,066,49618,553,70102,273,280