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:18Alexander MonakovAlexander MonakovScore: 4,683Success
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:184,64832,599,54114,874,00002,498,560
2Jan 22, 2024 09:184,65228,335,36213,894,000992,0002,490,368
3Jan 22, 2024 09:184,65932,491,14913,916,000994,0002,502,656
4Jan 22, 2024 09:184,66935,993,36113,946,000996,0002,277,376
5Jan 22, 2024 09:184,67232,070,65213,954,000996,0002,277,376
6Jan 22, 2024 09:184,67435,085,20213,961,000997,0002,277,376
7Jan 22, 2024 09:184,68330,272,59713,988,000999,0002,277,376
8Jan 22, 2024 09:184,69036,337,62514,007,0001,000,0002,498,560
9Jan 22, 2024 09:184,69832,611,24313,028,0002,004,0002,502,656
10Jan 22, 2024 09:184,88179,359,01915,618,16502,236,416
11Jan 22, 2024 09:184,89773,820,48915,669,57602,236,416
12Jan 22, 2024 09:184,93975,558,35615,805,24002,244,608