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 15, 2021 08:16alex3dalex3dScore: 5,046Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 08:165,0114,336,950,35914,967,0001,069,0002,510,848
2May 15, 2021 08:165,0136,686,700,06413,903,0002,139,0002,510,848
3May 15, 2021 08:155,0136,781,925,69314,038,0002,005,0002,514,944
4May 15, 2021 08:155,0155,358,856,05316,048,00002,510,848
5May 15, 2021 08:155,0185,751,022,72816,058,00002,510,848
6May 15, 2021 08:155,0246,107,332,74214,067,0002,009,0002,514,944
7May 15, 2021 08:165,0279,973,601,08416,087,00002,510,848
8May 15, 2021 08:165,0391,759,264,46015,051,0001,075,0002,510,848
9May 15, 2021 08:155,0436,126,178,70916,136,00002,519,040
10May 15, 2021 08:155,0447,280,508,49315,134,0001,008,0002,510,848
11May 15, 2021 08:155,044516,822,33815,132,0001,008,0002,510,848
12May 15, 2021 08:165,0448,763,308,97913,989,0002,152,0002,510,848
13May 15, 2021 08:165,0461,677,973,92613,120,0003,027,0002,514,944
14May 15, 2021 08:165,0515,926,783,42815,086,0001,077,0002,433,024
15May 15, 2021 08:155,0566,248,298,90215,167,0001,011,0002,514,944
16May 15, 2021 08:155,0593,844,610,58914,167,0002,023,0002,510,848
17May 15, 2021 08:165,0653,829,383,47014,183,0002,026,0002,428,928
18May 15, 2021 08:165,0799,472,959,81514,221,0002,031,0002,510,848
19May 15, 2021 08:165,1373,397,397,01016,437,76102,281,472
20May 15, 2021 08:155,1602,450,044,78516,512,20602,277,376
21May 15, 2021 08:155,1653,694,324,32616,528,91202,285,568
22May 15, 2021 08:155,1914,450,964,51616,610,77302,281,472
23May 15, 2021 08:165,2276,403,293,69416,725,98602,281,472
24May 15, 2021 08:165,2308,091,288,95016,735,05802,281,472