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 listJun 9, 2024 14:42AndreyTSAndreyTSScore: 5,347Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 14:425,31135,812,54214,996,0001,999,0002,269,184
2Jun 9, 2024 14:425,31533,455,33616,009,0001,000,0002,289,664
3Jun 9, 2024 14:425,33240,628,36116,058,0001,003,0002,269,184
4Jun 9, 2024 14:425,33239,954,34515,056,0002,007,0002,273,280
5Jun 9, 2024 14:425,33334,482,98616,063,0001,003,0002,289,664
6Jun 9, 2024 14:425,34340,875,89715,086,0002,011,0002,277,376
7Jun 9, 2024 14:425,34744,417,77715,098,0002,013,0002,289,664
8Jun 9, 2024 14:425,35037,901,16415,106,0002,014,0002,289,664
9Jun 9, 2024 14:425,35442,746,45015,118,0002,015,0002,289,664
10Jun 9, 2024 14:425,614111,248,52117,963,50702,174,976
11Jun 9, 2024 14:425,68198,045,57718,180,75002,293,760
12Jun 9, 2024 14:425,70090,412,57318,239,04502,297,856