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 listSep 9, 2021 15:16Andrey TsvetkovAndrey TsvetkovScore: 5,627Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2021 12:235,58944,468,54015,899,0001,987,0002,342,912
2Sep 5, 2021 12:235,59043,219,16917,888,00002,310,144
3Sep 9, 2021 15:165,59143,303,33817,890,00002,342,912
4Sep 9, 2021 15:165,59245,829,38617,895,00002,310,144
5Sep 9, 2021 15:165,59430,100,55915,913,0001,989,0002,342,912
6Sep 5, 2021 12:235,59545,282,27616,911,000994,0002,322,432
7Sep 5, 2021 12:235,59841,164,52616,920,000995,0002,342,912
8Sep 5, 2021 12:235,59945,684,71216,921,000995,0002,326,528
9Sep 9, 2021 15:165,61144,198,25616,957,000997,0002,314,240
10Sep 5, 2021 12:235,61634,346,37416,974,000998,0002,342,912
11Sep 9, 2021 15:165,61744,005,26015,976,0001,997,0002,297,856
12Sep 9, 2021 15:165,62647,948,77416,003,0002,000,0002,342,912
13Sep 5, 2021 12:235,62748,500,71117,005,0001,000,0002,445,312
14Sep 5, 2021 12:235,62843,557,15617,008,0001,000,0002,318,336
15Sep 9, 2021 15:165,63046,922,45116,014,0002,001,0002,342,912
16Sep 9, 2021 15:165,63844,937,79216,037,0002,004,0002,314,240
17Sep 5, 2021 12:235,64443,607,90716,055,0002,006,0002,342,912
18Sep 9, 2021 15:165,66543,927,97216,115,0002,014,0002,342,912
19Sep 9, 2021 15:165,66978,822,41718,141,39802,281,472
20Sep 9, 2021 15:165,67985,823,02718,172,74402,277,376
21Sep 9, 2021 15:165,680100,224,45718,176,75802,281,472
22Sep 5, 2021 12:235,87489,379,23118,798,17902,293,760
23Sep 5, 2021 12:235,88972,465,12118,845,26102,277,376
24Sep 5, 2021 12:235,91894,079,10518,938,87702,289,664