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 listJan 22, 2024 09:21Alexander MonakovAlexander MonakovScore: 4,648Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 09:204,59331,802,92714,699,00002,502,656
2Jan 22, 2024 09:204,59534,149,67114,704,00002,277,376
3Jan 22, 2024 09:214,59940,965,07614,718,00002,273,280
4Jan 22, 2024 09:204,60035,699,63114,721,00002,277,376
5Jan 22, 2024 09:204,60326,710,15014,729,00002,277,376
6Jan 22, 2024 09:214,63539,847,36112,854,0001,977,0002,277,376
7Jan 22, 2024 09:214,64435,535,88513,872,000990,0002,494,464
8Jan 22, 2024 09:214,64645,137,01013,876,000991,0002,502,656
9Jan 22, 2024 09:204,64744,401,58413,879,000991,0002,498,560
10Jan 22, 2024 09:204,64830,994,67813,881,000991,0002,277,376
11Jan 22, 2024 09:204,64840,369,45614,872,00002,502,656
12Jan 22, 2024 09:214,64834,317,81314,873,00002,277,376
13Jan 22, 2024 09:214,64837,011,91014,875,00002,494,464
14Jan 22, 2024 09:204,65239,653,58713,894,000992,0002,277,376
15Jan 22, 2024 09:204,65231,993,10713,893,000992,0002,535,424
16Jan 22, 2024 09:214,65344,251,78113,896,000992,0002,502,656
17Jan 22, 2024 09:214,65442,395,88213,900,000992,0002,502,656
18Jan 22, 2024 09:214,65835,121,13013,913,000993,0002,277,376
19Jan 22, 2024 09:214,82288,826,58715,431,34602,244,608
20Jan 22, 2024 09:204,84490,313,84515,501,87002,240,512
21Jan 22, 2024 09:214,85072,605,10715,518,76602,248,704
22Jan 22, 2024 09:204,85685,588,94915,538,12202,244,608
23Jan 22, 2024 09:204,88376,725,57315,626,69602,248,704
24Jan 22, 2024 09:214,89781,983,14315,670,06002,236,416