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 29, 2021 08:04Dmitry DolgopolovDmitry DolgopolovScore: 4,981Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 08:054,95834,087,47314,873,000991,0002,535,424
2May 29, 2021 08:044,96041,663,06513,888,0001,984,0002,449,408
3May 29, 2021 08:044,96146,138,44814,883,000992,0002,449,408
4May 29, 2021 08:044,96140,880,61914,884,000992,0002,273,280
5May 29, 2021 08:054,96234,763,60013,894,0001,984,0002,445,312
6May 29, 2021 08:044,96244,444,19813,894,0001,984,0002,273,280
7May 29, 2021 08:044,96245,225,19614,886,000992,0002,535,424
8May 29, 2021 08:054,96331,347,87713,898,0001,985,0002,441,216
9May 29, 2021 08:044,96531,847,69713,902,0001,986,0002,535,424
10May 29, 2021 08:044,96642,005,24013,905,0001,986,0002,445,312
11May 29, 2021 08:054,96631,124,19814,897,000993,0002,535,424
12May 29, 2021 08:044,96632,338,03014,832,0001,059,0002,273,280
13May 29, 2021 08:044,96633,724,41513,906,0001,986,0002,445,312
14May 29, 2021 08:044,96834,168,58314,838,0001,059,0002,273,280
15May 29, 2021 08:054,97130,869,91713,920,0001,988,0002,273,280
16May 29, 2021 08:054,97230,856,03014,850,0001,060,0002,273,280
17May 29, 2021 08:044,97329,118,19713,923,0001,989,0002,441,216
18May 29, 2021 08:044,97440,343,71913,927,0001,989,0002,441,216
19May 29, 2021 08:044,98135,273,08113,947,0001,992,0002,441,216
20May 29, 2021 08:044,98344,674,76713,951,0001,993,0002,273,280
21May 29, 2021 08:054,98446,999,97413,957,0001,993,0002,273,280
22May 29, 2021 08:044,98733,893,35213,964,0001,994,0002,273,280
23May 29, 2021 08:054,99237,685,55913,977,0001,996,0002,273,280
24May 29, 2021 08:044,99340,061,83913,982,0001,997,0002,535,424
25May 29, 2021 08:044,99440,288,57813,984,0001,997,0002,535,424
26May 29, 2021 08:055,00037,052,52914,000,0002,000,0002,273,280
27May 29, 2021 08:045,01441,287,05914,039,0002,005,0002,535,424
28May 29, 2021 08:045,17259,606,04216,550,82302,195,456
29May 29, 2021 08:045,18056,109,31716,576,47202,199,552
30May 29, 2021 08:045,19248,244,08816,613,47802,203,648
31May 29, 2021 08:045,21358,646,24616,680,85702,195,456
32May 29, 2021 08:045,21685,221,97516,690,57402,191,360
33May 29, 2021 08:055,22341,308,65716,714,13802,199,552
34May 29, 2021 08:045,23239,933,46916,742,50202,260,992
35May 29, 2021 08:055,23962,300,34416,764,26902,211,840
36May 29, 2021 08:055,26178,361,27916,834,37102,207,744