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 13, 2024 10:42matsuoka-601matsuoka-601Score: 5,681Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 13, 2024 10:425,65440,885,06716,082,0002,010,0002,273,280
2Jan 13, 2024 10:425,65645,156,61117,094,0001,005,0002,523,136
3Jan 13, 2024 10:425,66092,969,73918,112,16202,301,952
4Jan 13, 2024 10:425,67040,910,91316,129,0002,016,0002,289,664
5Jan 13, 2024 10:425,67442,132,83116,140,0002,017,0002,273,280
6Jan 13, 2024 10:425,67741,191,59716,148,0002,018,0002,289,664
7Jan 13, 2024 10:425,68141,352,62816,160,0002,020,0002,269,184
8Jan 13, 2024 10:425,69342,688,93316,194,0002,024,0002,289,664
9Jan 13, 2024 10:425,69942,055,24016,210,0002,026,0002,269,184
10Jan 13, 2024 10:425,71739,802,95816,261,0002,032,0002,531,328
11Jan 13, 2024 10:425,76393,810,53418,441,73802,306,048
12Jan 13, 2024 10:425,86784,362,50018,773,08302,297,856