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 listApr 22, 2024 03:39Yuriy LyfenkoYuriy LyfenkoScore: 7,104Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2024 03:395,80293,012,77318,565,26302,277,376
2Apr 22, 2024 03:325,80486,101,40718,571,81202,281,472
3Apr 22, 2024 03:325,83080,264,17818,655,62902,285,568
4Apr 22, 2024 03:395,92786,289,12518,965,00202,293,760
5Apr 22, 2024 03:395,96065,668,82619,071,31102,273,280
6Apr 22, 2024 03:326,068102,802,95819,418,49902,289,664
7Apr 22, 2024 03:396,83844,705,01919,893,0001,989,0002,465,792
8Apr 22, 2024 03:396,89155,813,95419,044,0003,007,0002,539,520
9Apr 22, 2024 03:327,04148,141,31320,483,0002,048,0002,560,000
10Apr 22, 2024 03:397,04853,450,20320,502,0002,050,0002,560,000
11Apr 22, 2024 03:327,08739,106,42721,647,0001,030,0002,478,080
12Apr 22, 2024 03:327,09053,004,56520,626,0002,062,0002,457,600
13Apr 22, 2024 03:397,10454,120,76221,700,0001,033,0002,543,616
14Apr 22, 2024 03:327,10950,027,37821,714,0001,034,0002,297,856
15Apr 22, 2024 03:327,13957,654,01519,865,0002,979,0002,297,856
16Apr 22, 2024 03:397,14347,572,18619,877,0002,981,0002,297,856
17Apr 22, 2024 03:397,14849,627,31719,892,0002,983,0002,297,856
18Apr 22, 2024 03:327,15151,600,50619,898,0002,984,0002,465,792
19Apr 22, 2024 03:327,18351,836,74420,987,0001,998,0002,473,984
20Apr 22, 2024 03:327,19354,941,20220,016,0003,002,0002,297,856
21Apr 22, 2024 03:397,19952,326,65820,033,0003,004,0002,297,856
22Apr 22, 2024 03:397,21153,104,29521,068,0002,006,0002,555,904
23Apr 22, 2024 03:397,22948,833,12720,117,0003,017,0002,473,984
24Apr 22, 2024 03:3214,69073,340,55245,009,0002,000,0002,465,792