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 14, 2021 21:13Yuriy LyfenkoYuriy LyfenkoScore: 5,602Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 14, 2021 21:135,58335,365,65416,874,000992,0002,392,064
2May 14, 2021 21:135,58547,189,74115,886,0001,985,0002,523,136
3May 14, 2021 21:135,58549,459,84515,887,0001,985,0002,260,992
4May 14, 2021 21:135,58642,111,08215,888,0001,986,0002,265,088
5May 14, 2021 21:135,58743,668,54716,885,000993,0002,523,136
6May 14, 2021 21:135,58836,770,95415,894,0001,986,0002,523,136
7May 14, 2021 21:135,59337,381,79614,915,0002,983,0002,260,992
8May 14, 2021 21:135,59350,110,67215,909,0001,988,0002,392,064
9May 14, 2021 21:135,59433,740,93016,906,000994,0002,523,136
10May 14, 2021 21:135,59443,431,71716,906,000994,0002,260,992
11May 14, 2021 21:135,59544,141,86516,910,000994,0002,387,968
12May 14, 2021 21:135,60142,390,09615,932,0001,991,0002,523,136
13May 14, 2021 21:135,60235,778,38616,930,000995,0002,383,872
14May 14, 2021 21:135,60538,353,04316,940,000996,0002,265,088
15May 14, 2021 21:135,60834,868,28016,948,000996,0002,260,992
16May 14, 2021 21:135,62045,336,16715,985,0001,998,0002,523,136
17May 14, 2021 21:135,62143,086,13915,989,0001,998,0002,523,136
18May 14, 2021 21:135,62534,240,67716,001,0002,000,0002,392,064
19May 14, 2021 21:135,75378,168,39918,408,22002,277,376
20May 14, 2021 21:135,76660,308,70718,452,45902,281,472
21May 14, 2021 21:135,76975,672,11818,460,11202,273,280
22May 14, 2021 21:135,77985,224,89218,491,54002,273,280
23May 14, 2021 21:135,78286,692,84818,501,92902,277,376
24May 14, 2021 21:135,79172,240,05318,531,00202,281,472