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 17, 2024 18:48Joad NacerJoad NacerScore: 4,961Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 18:484,88736,201,30814,595,0001,042,0002,527,232
2Apr 17, 2024 18:484,88836,561,80514,601,0001,042,0002,277,376
3Apr 19, 2024 11:464,89146,346,44214,608,0001,043,0002,289,664
4Apr 17, 2024 18:484,89840,573,50914,629,0001,044,0002,379,776
5Apr 19, 2024 11:464,89932,000,26014,633,0001,045,0002,523,136
6Apr 19, 2024 11:464,90740,466,83014,657,0001,046,0002,523,136
7Apr 19, 2024 11:464,90841,549,55115,704,00002,289,664
8Apr 17, 2024 18:484,91433,136,40714,676,0001,048,0002,273,280
9Apr 19, 2024 11:464,92031,467,07314,694,0001,049,0002,289,664
10Apr 17, 2024 18:484,95436,541,63713,872,0001,981,0002,289,664
11Apr 17, 2024 18:484,95446,004,52014,863,000990,0002,289,664
12Apr 17, 2024 18:484,95836,320,18213,884,0001,983,0002,289,664
13Apr 19, 2024 11:464,96133,464,29413,891,0001,984,0002,527,232
14Apr 19, 2024 11:464,96248,273,76915,877,00002,273,280
15Apr 17, 2024 18:484,96346,027,95414,890,000992,0002,289,664
16Apr 19, 2024 11:464,96653,017,05114,898,000993,0002,265,088
17Apr 19, 2024 11:464,97834,214,16613,939,0001,991,0002,269,184
18Apr 17, 2024 18:485,05832,029,40815,174,0001,011,0002,289,664
19Apr 17, 2024 18:485,06184,361,19416,193,73302,301,952
20Apr 17, 2024 18:485,09989,741,86316,317,03302,179,072
21Apr 19, 2024 11:465,10490,664,37416,332,16802,293,760
22Apr 19, 2024 11:465,10690,474,40716,338,82802,297,856
23Apr 17, 2024 18:485,11569,977,41116,369,39802,297,856
24Apr 19, 2024 11:465,13383,389,41316,424,01702,174,976