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 20:16Yuriy LyfenkoYuriy LyfenkoScore: 5,586Success
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 20:165,53343,143,78014,581,0003,124,0002,260,992
2May 11, 2021 20:145,53848,280,03317,723,00002,387,968
3May 11, 2021 20:165,54245,809,70816,691,0001,043,0002,400,256
4May 11, 2021 20:165,56733,958,77515,834,0001,979,0002,265,088
5May 11, 2021 20:145,58243,262,47715,878,0001,984,0002,523,136
6May 11, 2021 20:165,58338,889,52215,881,0001,985,0002,523,136
7May 11, 2021 20:155,58444,972,30116,876,000992,0002,523,136
8May 11, 2021 20:155,58448,583,27814,891,0002,978,0002,523,136
9May 11, 2021 20:155,58432,811,25614,891,0002,978,0002,260,992
10May 11, 2021 20:155,58444,855,29216,878,000992,0002,519,040
11May 11, 2021 20:145,58450,932,49515,883,0001,985,0002,269,184
12May 11, 2021 20:145,58434,432,30216,876,000992,0002,260,992
13May 11, 2021 20:145,58445,907,79816,876,000992,0002,506,752
14May 11, 2021 20:145,58446,945,69716,876,000992,0002,392,064
15May 11, 2021 20:145,58448,485,86216,878,000992,0002,392,064
16May 11, 2021 20:165,58548,041,63916,880,000992,0002,523,136
17May 11, 2021 20:155,58545,591,90416,879,000992,0002,523,136
18May 11, 2021 20:155,58634,381,80715,889,0001,986,0002,523,136
19May 11, 2021 20:145,58647,620,13215,772,0002,102,0002,260,992
20May 11, 2021 20:165,58636,954,55616,882,000993,0002,387,968
21May 11, 2021 20:165,58750,291,33916,884,000993,0002,392,064
22May 11, 2021 20:155,58741,444,57215,892,0001,986,0002,260,992
23May 11, 2021 20:155,58834,881,31615,895,0001,986,0002,400,256
24May 11, 2021 20:165,59149,823,35715,903,0001,987,0002,260,992
25May 11, 2021 20:165,59245,627,92614,912,0002,982,0002,392,064
26May 11, 2021 20:145,59743,285,91316,857,0001,053,0002,523,136
27May 11, 2021 20:155,60344,057,50915,938,0001,992,0002,392,064
28May 11, 2021 20:165,73664,782,88818,355,01602,285,568
29May 11, 2021 20:145,74284,954,31918,373,74902,277,376
30May 11, 2021 20:155,74282,338,90718,374,44002,277,376
31May 11, 2021 20:145,74959,989,22318,396,57402,277,376
32May 11, 2021 20:155,75578,882,85618,414,61402,265,088
33May 11, 2021 20:165,76087,814,96818,432,79702,269,184
34May 11, 2021 20:165,76787,050,23718,453,56802,277,376
35May 11, 2021 20:155,76885,905,39918,456,85502,277,376
36May 11, 2021 20:145,77167,006,79918,465,72402,277,376