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 22, 2024 09:16PhibPhibScore: 5,651Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2024 09:165,59838,088,80915,924,0001,990,0002,281,472
2Apr 22, 2024 09:165,60545,134,04615,944,0001,993,0002,281,472
3Apr 22, 2024 09:165,62845,255,47116,008,0002,001,0002,281,472
4Apr 22, 2024 09:165,62946,401,32616,011,0002,001,0002,510,848
5Apr 22, 2024 09:165,63436,620,90817,027,0001,001,0002,281,472
6Apr 22, 2024 09:165,64145,534,02116,046,0002,005,0002,510,848
7Apr 22, 2024 09:165,65142,488,11616,074,0002,009,0002,519,040
8Apr 22, 2024 09:165,65540,770,28217,091,0001,005,0002,281,472
9Apr 22, 2024 09:165,66535,164,62016,115,0002,014,0002,506,752
10Apr 22, 2024 09:165,90478,732,43018,891,52302,277,376
11Apr 22, 2024 09:165,92784,430,04818,967,88902,269,184
12Apr 22, 2024 09:165,95277,327,29719,045,35602,285,568