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 21, 2024 23:23KeKazartsevKeKazartsevScore: 42,683Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2024 23:2341,607158,629,691105,112,00028,030,0002,273,280
2Dec 21, 2024 23:2341,709157,311,666105,370,00028,098,0002,277,376
3Dec 21, 2024 23:2141,738158,657,704106,448,00027,114,0002,285,568
4Dec 21, 2024 23:2141,970156,822,133103,233,00031,070,0002,277,376
5Dec 21, 2024 23:2342,004160,058,036104,320,00030,092,0002,285,568
6Dec 21, 2024 23:2342,033163,213,547106,400,00028,105,0002,285,568
7Dec 21, 2024 23:2142,202164,958,925107,037,00028,009,0002,285,568
8Dec 21, 2024 23:2142,370160,568,523105,454,00030,129,0002,285,568
9Dec 21, 2024 23:2342,642158,906,088108,362,00028,093,0002,285,568
10Dec 21, 2024 23:2142,672161,495,758107,433,00029,117,0002,277,376
11Dec 21, 2024 23:2142,683162,768,568110,475,00026,112,0002,265,088
12Dec 21, 2024 23:2342,715167,743,521108,547,00028,141,0002,277,376
13Dec 21, 2024 23:2142,763161,568,542107,874,00028,966,0002,289,664
14Dec 21, 2024 23:2343,184160,931,534108,149,00030,041,0002,273,280
15Dec 21, 2024 23:2343,417161,074,585108,949,00029,986,0002,277,376
16Dec 21, 2024 23:2343,464164,449,220112,068,00027,016,0002,285,568
17Dec 21, 2024 23:2143,477163,240,674108,097,00031,028,0002,277,376
18Dec 21, 2024 23:2343,521164,288,076110,212,00029,056,0002,273,280
19Dec 21, 2024 23:2343,577167,566,277111,357,00028,090,0002,285,568
20Dec 21, 2024 23:2343,758167,558,634112,022,00028,005,0002,285,568
21Dec 21, 2024 23:2144,037164,986,280110,936,00029,982,0002,277,376