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 listApr 5, 2024 00:42Christopher TarryChristopher TarryScore: 5,530Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 4, 2024 16:495,48039,470,55716,504,0001,031,0002,265,088
2Apr 4, 2024 16:495,48637,834,29816,524,0001,032,0002,392,064
3Apr 4, 2024 16:495,49738,784,14916,555,0001,034,0002,383,872
4Apr 4, 2024 16:495,50247,961,36317,607,00002,506,752
5Apr 5, 2024 00:425,50240,799,35616,570,0001,035,0002,265,088
6Apr 5, 2024 00:425,50538,557,62816,579,0001,036,0002,265,088
7Apr 5, 2024 00:425,51042,028,58217,631,00002,527,232
8Apr 5, 2024 00:425,51353,260,09317,642,00002,265,088
9Apr 4, 2024 16:495,51846,226,78416,621,0001,038,0002,392,064
10Apr 5, 2024 00:425,52233,929,51417,671,00002,265,088
11Apr 5, 2024 00:425,52746,122,63817,687,00002,383,872
12Apr 5, 2024 00:425,52848,125,00216,651,0001,040,0002,265,088
13Apr 4, 2024 16:495,53034,755,27616,656,0001,041,0002,387,968
14Apr 4, 2024 16:495,53848,500,74017,723,00002,383,872
15Apr 5, 2024 00:425,54138,442,14616,689,0001,043,0002,265,088
16Apr 4, 2024 16:495,54336,230,67417,737,00002,387,968
17Apr 4, 2024 16:495,58535,239,82916,879,000992,0002,265,088
18Apr 5, 2024 00:425,58742,671,77015,893,0001,986,0002,265,088
19Apr 4, 2024 16:495,68981,092,70018,206,32902,281,472
20Apr 4, 2024 16:495,71873,177,51618,296,77602,281,472
21Apr 5, 2024 00:425,73097,788,04618,336,31502,281,472
22Apr 5, 2024 00:425,74477,441,80618,381,03102,289,664
23Apr 4, 2024 16:495,75586,370,90718,414,62402,277,376
24Apr 5, 2024 00:425,75893,105,17618,424,68302,289,664