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 19, 2021 23:14alex3dalex3dScore: 5,540Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 23:155,48933,692,20316,532,0001,033,0002,535,424
2May 19, 2021 23:145,49533,600,97316,551,0001,034,0002,445,312
3May 19, 2021 23:145,49639,796,67616,552,0001,034,0002,445,312
4May 19, 2021 23:155,50332,143,13617,611,00002,273,280
5May 19, 2021 23:155,50333,384,90017,611,00002,449,408
6May 19, 2021 23:155,50634,937,34216,582,0001,036,0002,535,424
7May 19, 2021 23:155,50644,575,03416,582,0001,036,0002,535,424
8May 19, 2021 23:155,50744,389,31016,586,0001,036,0002,535,424
9May 19, 2021 23:155,50742,056,60716,586,0001,036,0002,531,328
10May 19, 2021 23:155,51145,504,21316,598,0001,037,0002,453,504
11May 19, 2021 23:155,51142,764,27516,598,0001,037,0002,441,216
12May 19, 2021 23:145,51342,305,01516,603,0001,037,0002,535,424
13May 19, 2021 23:145,51745,868,72417,654,00002,273,280
14May 19, 2021 23:155,51743,574,78416,615,0001,038,0002,449,408
15May 19, 2021 23:145,51950,272,06016,622,0001,038,0002,273,280
16May 19, 2021 23:155,52344,904,42416,633,0001,039,0002,441,216
17May 19, 2021 23:145,52441,528,46816,639,0001,039,0002,441,216
18May 19, 2021 23:155,53144,954,67316,659,0001,041,0002,535,424
19May 19, 2021 23:155,53444,286,84016,668,0001,041,0002,273,280
20May 19, 2021 23:155,53642,979,45416,673,0001,042,0002,535,424
21May 19, 2021 23:155,53647,603,07716,673,0001,042,0002,531,328
22May 19, 2021 23:155,53841,708,00316,679,0001,042,0002,269,184
23May 19, 2021 23:155,54042,316,78516,685,0001,042,0002,535,424
24May 19, 2021 23:155,58648,601,53915,889,0001,986,0002,273,280
25May 19, 2021 23:145,58932,644,97515,898,0001,987,0002,535,424
26May 19, 2021 23:145,59043,769,89215,901,0001,987,0002,535,424
27May 19, 2021 23:145,59243,696,14516,899,000994,0002,433,024
28May 19, 2021 23:155,70982,028,40418,269,02602,203,648
29May 19, 2021 23:155,72876,030,72818,330,75702,203,648
30May 19, 2021 23:145,73590,343,24118,353,04402,207,744
31May 19, 2021 23:145,75071,993,98018,399,96702,211,840
32May 19, 2021 23:145,75058,415,27218,398,92402,199,552
33May 19, 2021 23:155,75086,650,26818,401,26502,215,936
34May 19, 2021 23:155,75093,175,12518,400,80502,203,648
35May 19, 2021 23:145,75173,714,97818,404,76502,195,456
36May 19, 2021 23:155,75891,471,50018,426,11902,199,552
37May 19, 2021 23:155,76370,733,75918,443,15502,195,456
38May 19, 2021 23:155,76553,110,22318,449,42202,187,264
39May 19, 2021 23:155,77455,812,38118,477,88102,199,552
40May 19, 2021 23:145,78585,121,39018,510,96902,203,648
41May 19, 2021 23:155,79085,721,86518,526,69802,199,552
42May 19, 2021 23:155,79350,430,42818,536,28902,199,552
43May 19, 2021 23:155,81472,824,64818,603,97202,203,648
44May 19, 2021 23:155,81584,087,67718,606,58902,203,648
45May 19, 2021 23:145,82486,976,31418,636,78402,195,456