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 listDec 14, 2024 13:17MatthiasMatthiasScore: 4,715Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 11, 2024 23:554,68639,103,00612,995,0001,999,0002,265,088
2Dec 11, 2024 23:544,68639,376,64713,996,000999,0002,265,088
3Dec 11, 2024 23:534,69731,637,59114,028,0001,002,0002,285,568
4Dec 11, 2024 23:554,69841,815,15713,030,0002,004,0002,285,568
5Dec 11, 2024 23:534,69941,245,65613,033,0002,005,0002,519,040
6Dec 11, 2024 23:554,70032,410,42013,035,0002,005,0002,285,568
7Dec 14, 2024 14:164,70230,368,12113,041,0002,006,0002,285,568
8Dec 11, 2024 23:534,70834,836,88413,056,0002,008,0002,281,472
9Dec 11, 2024 23:544,70942,526,12813,060,0002,009,0002,523,136
10Dec 11, 2024 23:534,70938,310,35513,061,0002,009,0002,523,136
11Dec 11, 2024 23:554,71042,063,16813,064,0002,009,0002,285,568
12Dec 11, 2024 23:534,71243,122,53013,068,0002,010,0002,285,568
13Dec 14, 2024 14:164,71336,479,36013,070,0002,010,0002,523,136
14Dec 11, 2024 23:554,71537,603,58314,082,0001,005,0002,285,568
15Dec 11, 2024 23:564,71538,904,34113,077,0002,011,0002,285,568
16Dec 11, 2024 23:534,71637,259,87313,078,0002,012,0002,285,568
17Dec 11, 2024 23:554,71637,824,45913,078,0002,012,0002,285,568
18Dec 11, 2024 23:534,71829,580,85113,085,0002,013,0002,281,472
19Dec 11, 2024 23:564,71831,235,01313,086,0002,013,0002,281,472
20Dec 11, 2024 23:544,71938,094,70513,088,0002,013,0002,519,040
21Dec 11, 2024 23:534,72038,508,39613,090,0002,013,0002,285,568
22Dec 14, 2024 14:164,72237,351,28013,095,0002,014,0002,514,944
23Dec 11, 2024 23:564,72429,851,05914,109,0001,007,0002,375,680
24Dec 11, 2024 23:534,73732,671,72714,147,0001,010,0002,285,568
25Dec 14, 2024 13:1721,508118,394,15564,835,0003,989,0002,527,232
26Dec 14, 2024 13:1721,559109,332,52665,989,0002,999,0002,269,184
27Dec 14, 2024 13:1721,592111,604,66965,088,0004,005,0002,519,040