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 18, 2024 14:07Robert BurkeRobert BurkeScore: 5,000Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 14:064,82430,214,10714,408,0001,029,0002,457,600
2Apr 18, 2024 14:064,83930,574,25114,453,0001,032,0002,449,408
3Apr 18, 2024 14:064,84732,658,71214,477,0001,034,0002,281,472
4Apr 18, 2024 14:064,85233,955,32414,491,0001,035,0002,277,376
5Apr 18, 2024 14:064,86035,322,66414,516,0001,036,0002,273,280
6Apr 18, 2024 14:064,86241,551,26314,521,0001,037,0002,441,216
7Apr 18, 2024 14:064,86540,185,53314,530,0001,037,0002,445,312
8Apr 18, 2024 14:064,87143,250,93014,547,0001,039,0002,281,472
9Apr 18, 2024 14:064,87928,262,39415,612,00002,445,312
10Apr 18, 2024 14:064,97435,563,97813,929,0001,989,0002,281,472
11Apr 18, 2024 14:074,97428,147,62113,929,0001,989,0002,281,472
12Apr 18, 2024 14:074,97938,075,49413,942,0001,991,0002,281,472
13Apr 18, 2024 14:074,98337,506,71913,953,0001,993,0002,281,472
14Apr 18, 2024 14:064,98840,029,54413,966,0001,995,0002,281,472
15Apr 18, 2024 14:064,98935,744,62213,970,0001,995,0002,281,472
16Apr 18, 2024 14:064,99137,463,70313,975,0001,996,0002,445,312
17Apr 18, 2024 14:074,99339,859,70413,981,0001,997,0002,453,504
18Apr 18, 2024 14:064,99733,884,30213,992,0001,998,0002,281,472
19Apr 18, 2024 14:075,00039,445,56214,001,0002,000,0002,281,472
20Apr 18, 2024 14:065,00136,827,70314,003,0002,000,0002,277,376
21Apr 18, 2024 14:075,00237,764,66814,005,0002,000,0002,453,504
22Apr 18, 2024 14:075,00631,541,52614,017,0002,002,0002,453,504
23Apr 18, 2024 14:065,01140,032,29914,031,0002,004,0002,449,408
24Apr 18, 2024 14:065,01931,559,23214,055,0002,007,0002,281,472
25Apr 18, 2024 14:075,02633,295,34114,073,0002,010,0002,281,472
26Apr 18, 2024 14:065,02737,791,72314,076,0002,010,0002,449,408
27Apr 18, 2024 14:075,02834,554,96815,085,0001,005,0002,281,472
28Apr 18, 2024 14:065,14098,744,86116,447,52302,256,896
29Apr 18, 2024 14:065,15293,301,23216,486,53002,199,552
30Apr 18, 2024 14:065,16091,967,28616,513,24302,199,552
31Apr 18, 2024 14:075,25779,755,82616,821,91702,211,840
32Apr 18, 2024 14:065,26187,296,74316,836,19402,203,648
33Apr 18, 2024 14:075,26787,197,92316,853,25902,203,648
34Apr 18, 2024 14:065,26985,527,52616,861,54802,260,992
35Apr 18, 2024 14:065,28983,853,47016,925,48302,211,840
36Apr 18, 2024 14:075,33285,283,46517,062,12102,199,552