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 21:59Yuriy LyfenkoYuriy LyfenkoScore: 5,634Success
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:005,59247,967,24817,893,00002,527,232
2May 11, 2021 22:005,59343,597,61116,905,000994,0002,260,992
3May 11, 2021 21:595,59550,899,47917,905,00002,260,992
4May 11, 2021 21:595,59644,155,88616,914,000994,0002,392,064
5May 11, 2021 21:595,60338,151,88315,939,0001,992,0002,392,064
6May 11, 2021 21:595,60841,536,21315,952,0001,994,0002,523,136
7May 11, 2021 22:005,61244,560,04015,962,0001,995,0002,392,064
8May 11, 2021 22:005,61848,928,73516,981,000998,0002,400,256
9May 11, 2021 22:005,62243,479,94115,992,0001,998,0002,387,968
10May 11, 2021 22:005,62245,991,20315,992,0001,999,0002,383,872
11May 11, 2021 22:005,62942,794,98316,011,0002,001,0002,523,136
12May 11, 2021 21:595,63244,477,87517,022,0001,001,0002,392,064
13May 11, 2021 22:005,63448,155,93617,029,0001,001,0002,260,992
14May 11, 2021 22:005,63742,940,04616,034,0002,004,0002,392,064
15May 11, 2021 21:595,64143,267,85917,049,0001,002,0002,523,136
16May 11, 2021 21:595,64539,706,37517,060,0001,003,0002,523,136
17May 11, 2021 21:595,64533,662,56516,058,0002,007,0002,396,160
18May 11, 2021 21:595,68048,510,00216,156,0002,019,0002,396,160
19May 11, 2021 22:005,90063,536,16018,878,56002,289,664
20May 11, 2021 21:595,90592,854,45518,896,65002,285,568
21May 11, 2021 22:005,90591,374,03918,897,55902,273,280
22May 11, 2021 21:595,91092,294,03718,910,79202,281,472
23May 11, 2021 21:595,91476,409,05518,926,16402,269,184
24May 11, 2021 22:005,92787,229,02218,966,78402,277,376