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 listFeb 27, 2024 21:01Ryan Chung Yi ShengRyan Chung Yi ShengScore: 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
1Feb 27, 2024 21:015,44961,656,10517,438,30702,297,856
2Feb 27, 2024 20:565,44978,532,70717,438,21202,297,856
3Feb 27, 2024 21:015,45972,840,90217,468,27302,289,664
4Feb 27, 2024 20:565,46481,395,98417,484,47802,252,800
5Feb 27, 2024 20:585,46681,241,45117,489,69302,297,856
6Feb 27, 2024 20:585,48389,298,76517,545,16702,297,856
7Feb 27, 2024 21:015,49194,232,23317,572,07502,293,760
8Feb 27, 2024 20:565,50184,843,38517,601,69502,297,856
9Feb 27, 2024 20:585,53170,328,93717,698,55802,301,952
10Feb 27, 2024 20:565,57939,742,90515,871,0001,983,0002,281,472
11Feb 27, 2024 20:585,58143,734,14215,876,0001,984,0002,281,472
12Feb 27, 2024 21:015,58233,474,07115,878,0001,984,0002,281,472
13Feb 27, 2024 20:565,58443,579,08717,868,00002,404,352
14Feb 27, 2024 20:565,58444,996,20216,876,000992,0002,519,040
15Feb 27, 2024 21:015,58442,117,68215,885,0001,985,0002,400,256
16Feb 27, 2024 20:565,58544,889,92016,880,000992,0002,281,472
17Feb 27, 2024 20:585,58541,693,52416,879,000992,0002,400,256
18Feb 27, 2024 20:565,58638,225,70416,882,000993,0002,281,472
19Feb 27, 2024 20:585,58643,448,88416,881,000993,0002,281,472
20Feb 27, 2024 20:585,58636,085,50517,875,00002,281,472
21Feb 27, 2024 21:015,58745,308,01915,891,0001,986,0002,281,472
22Feb 27, 2024 20:585,58843,872,37215,895,0001,986,0002,281,472
23Feb 27, 2024 20:585,59243,504,52416,900,000994,0002,281,472
24Feb 27, 2024 21:015,59346,802,28416,902,000994,0002,281,472
25Feb 27, 2024 20:585,59445,248,71617,902,00002,281,472
26Feb 27, 2024 21:015,59453,625,37616,908,000994,0002,281,472
27Feb 27, 2024 20:565,59440,686,95417,902,00002,396,160
28Feb 27, 2024 21:015,59546,035,55516,911,000994,0002,392,064
29Feb 27, 2024 20:565,59547,759,33815,914,0001,989,0002,400,256
30Feb 27, 2024 20:565,59741,063,92617,910,00002,281,472
31Feb 27, 2024 21:015,59840,730,31715,924,0001,990,0002,404,352
32Feb 27, 2024 20:585,59939,072,72616,921,000995,0002,281,472
33Feb 27, 2024 20:565,60138,802,87016,928,000995,0002,396,160
34Feb 27, 2024 20:585,60644,326,07715,946,0001,993,0002,396,160
35Feb 27, 2024 21:015,60739,255,62015,948,0001,993,0002,281,472
36Feb 27, 2024 21:015,61247,775,52615,964,0001,995,0002,396,160