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:17PhibPhibScore: 5,673Success
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:175,61138,870,03716,957,000997,0002,510,848
2Apr 22, 2024 09:175,65634,915,74215,082,0003,016,0002,510,848
3Apr 22, 2024 09:175,66043,083,19216,099,0002,012,0002,281,472
4Apr 22, 2024 09:175,66242,400,20714,093,0004,026,0002,510,848
5Apr 22, 2024 09:175,66439,661,33216,111,0002,013,0002,281,472
6Apr 22, 2024 09:175,66840,657,44216,121,0002,015,0002,506,752
7Apr 22, 2024 09:175,67340,772,46816,138,0002,017,0002,510,848
8Apr 22, 2024 09:175,68344,911,56416,167,0002,020,0002,506,752
9Apr 22, 2024 09:175,68834,967,47216,180,0002,022,0002,281,472
10Apr 22, 2024 09:175,88882,073,19618,843,16602,289,664
11Apr 22, 2024 09:175,90795,758,21718,901,79902,281,472
12Apr 22, 2024 09:175,94884,069,21519,032,13302,281,472