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 22, 2021 17:53Andrey TsvetkovAndrey TsvetkovScore: 5,791Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 17:585,72932,575,73015,279,0003,055,0002,531,328
2May 22, 2021 17:585,72943,095,08015,278,0003,055,0002,519,040
3May 22, 2021 17:535,73035,795,32216,300,0002,037,0002,334,720
4May 22, 2021 17:585,73634,152,50815,295,0003,059,0002,527,232
5May 22, 2021 17:585,75342,553,16816,366,0002,045,0002,334,720
6May 22, 2021 17:585,75341,931,98816,363,0002,045,0002,334,720
7May 22, 2021 17:585,75436,502,36516,367,0002,045,0002,334,720
8May 22, 2021 17:535,75437,669,72915,345,0003,069,0002,527,232
9May 22, 2021 17:535,76040,993,48418,431,00002,334,720
10May 22, 2021 17:535,76141,076,61817,410,0001,024,0002,334,720
11May 22, 2021 17:535,76743,669,63517,428,0001,025,0002,334,720
12May 22, 2021 17:535,77340,805,23516,420,0002,052,0002,334,720
13May 22, 2021 17:535,78136,312,02917,472,0001,027,0002,330,624
14May 22, 2021 17:535,78982,226,93018,525,43002,236,416
15May 22, 2021 17:585,79185,972,48618,530,44602,236,416
16May 22, 2021 17:535,79135,891,74115,443,0003,088,0002,527,232
17May 22, 2021 17:585,79266,860,69718,534,28102,232,320
18May 22, 2021 17:585,79436,307,66417,512,0001,030,0002,527,232
19May 22, 2021 17:585,79784,057,72118,549,49602,240,512
20May 22, 2021 17:535,79836,983,28617,525,0001,030,0002,334,720
21May 22, 2021 17:585,80790,812,77118,583,71802,236,416
22May 22, 2021 17:585,81367,568,84718,600,65102,224,128
23May 22, 2021 17:585,81648,872,06017,518,0001,094,0002,514,944
24May 22, 2021 17:585,81644,535,26216,543,0002,067,0002,334,720
25May 22, 2021 17:585,85385,521,48318,728,94802,244,608
26May 22, 2021 17:535,86086,309,58518,753,20902,244,608
27May 22, 2021 17:535,87696,364,68918,802,97302,228,224
28May 22, 2021 17:535,90070,467,65118,881,13202,240,512
29May 22, 2021 17:535,99379,628,92119,178,01002,232,320
30May 22, 2021 17:535,99387,769,39819,176,84602,236,416