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 23, 2023 00:36Kenneth MaplesKenneth MaplesScore: 5,354Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 23, 2023 00:365,31837,322,23215,017,0002,002,0002,265,088
2Dec 23, 2023 00:365,33745,152,51916,074,0001,004,0002,265,088
3Dec 23, 2023 00:365,34344,094,64116,093,0001,005,0002,265,088
4Dec 23, 2023 00:365,34539,657,07215,091,0002,012,0002,265,088
5Dec 23, 2023 00:365,34748,595,68116,103,0001,006,0002,269,184
6Dec 23, 2023 00:365,35439,817,52615,118,0002,015,0002,387,968
7Dec 23, 2023 00:365,35445,400,37915,119,0002,015,0002,490,368
8Dec 23, 2023 00:365,36544,588,37315,149,0002,019,0002,265,088
9Dec 23, 2023 00:365,37042,045,93215,164,0002,021,0002,265,088
10Dec 23, 2023 00:365,51581,680,74917,649,19802,277,376
11Dec 23, 2023 00:365,52483,827,91517,677,48302,269,184
12Dec 23, 2023 00:365,53184,225,91617,698,96102,269,184