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 listFeb 22, 2024 12:26Huy Duc LeHuy Duc LeScore: 5,518Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 12:265,47137,476,17517,506,00002,269,184
2Feb 22, 2024 12:265,48545,509,28516,520,0001,032,0002,269,184
3Feb 22, 2024 12:265,48640,458,40316,524,0001,032,0002,527,232
4Feb 22, 2024 12:265,49337,077,89916,543,0001,033,0002,277,376
5Feb 22, 2024 12:265,50243,947,17016,571,0001,035,0002,293,760
6Feb 22, 2024 12:265,51043,721,84217,632,00002,273,280
7Feb 22, 2024 12:265,51845,277,42216,621,0001,038,0002,531,328
8Feb 22, 2024 12:265,52643,831,92016,643,0001,040,0002,269,184
9Feb 22, 2024 12:265,57937,372,28616,862,000991,0002,277,376
10Feb 22, 2024 12:265,67584,882,15918,158,91602,306,048
11Feb 22, 2024 12:265,694105,271,87318,221,02302,301,952
12Feb 22, 2024 12:265,713100,080,40218,281,50502,301,952