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 listJun 19, 2023 21:35Ulyanov AlekseyUlyanov AlekseyScore: 5,581Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 21:345,51742,645,47516,616,0001,038,0002,277,376
2Jun 19, 2023 21:345,52246,200,74516,630,0001,039,0002,289,664
3Jun 19, 2023 21:355,52249,646,74816,632,0001,039,0002,289,664
4Jun 19, 2023 21:345,52337,462,27216,636,0001,039,0002,269,184
5Jun 19, 2023 21:355,52848,135,02316,651,0001,040,0002,277,376
6Jun 19, 2023 21:345,53151,672,36116,657,0001,041,0002,273,280
7Jun 19, 2023 21:355,53144,143,68616,658,0001,041,0002,281,472
8Jun 19, 2023 21:345,53747,716,24216,677,0001,042,0002,289,664
9Jun 19, 2023 21:355,53947,512,70016,682,0001,042,0002,289,664
10Jun 19, 2023 21:355,53951,552,40216,682,0001,042,0002,265,088
11Jun 19, 2023 21:355,56744,721,83415,834,0001,979,0002,289,664
12Jun 19, 2023 21:345,57832,079,03115,866,0001,983,0002,392,064
13Jun 19, 2023 21:355,58144,754,77816,867,000992,0002,289,664
14Jun 19, 2023 21:345,58249,636,47315,878,0001,984,0002,289,664
15Jun 19, 2023 21:355,58350,851,85615,881,0001,985,0002,289,664
16Jun 19, 2023 21:345,58841,503,47217,881,00002,289,664
17Jun 19, 2023 21:355,59041,092,34115,902,0001,987,0002,375,680
18Jun 19, 2023 21:345,59341,273,31416,903,000994,0002,289,664
19Jun 19, 2023 21:355,70078,477,60318,238,76902,293,760
20Jun 19, 2023 21:345,71956,823,84318,301,34902,293,760
21Jun 19, 2023 21:345,726105,979,70418,322,19702,297,856
22Jun 19, 2023 21:355,72873,503,38318,331,12302,297,856
23Jun 19, 2023 21:355,74378,068,18918,378,28202,297,856
24Jun 19, 2023 21:345,75786,309,91718,422,02902,297,856