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 2, 2023 22:13Alexander KimAlexander KimScore: 5,691Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 22:135,65235,318,10116,076,0002,009,0002,334,720
2Jan 2, 2023 22:135,65247,078,67517,082,0001,004,0002,531,328
3Jan 2, 2023 22:135,65735,382,64116,091,0002,011,0002,334,720
4Jan 2, 2023 22:135,66041,026,26816,101,0002,012,0002,334,720
5Jan 2, 2023 22:135,68232,952,59216,161,0002,020,0002,334,720
6Jan 2, 2023 22:135,68238,091,95716,163,0002,020,0002,334,720
7Jan 2, 2023 22:135,69135,909,35417,201,0001,011,0002,334,720
8Jan 2, 2023 22:135,71380,390,04318,282,50502,232,320
9Jan 2, 2023 22:135,71333,527,58517,268,0001,015,0002,342,912
10Jan 2, 2023 22:135,71839,356,19016,266,0002,033,0002,334,720
11Jan 2, 2023 22:135,73354,307,20318,344,28602,244,608
12Jan 2, 2023 22:135,76799,417,18518,454,25102,220,032