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 08:18matsuoka-601matsuoka-601Score: 5,587Success
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 08:185,52739,710,39716,645,0001,040,0002,527,232
2Jan 13, 2024 08:185,53747,475,18217,717,00002,265,088
3Jan 13, 2024 08:185,54444,369,69616,697,0001,043,0002,277,376
4Jan 13, 2024 08:185,57547,999,61715,858,0001,982,0002,289,664
5Jan 13, 2024 08:185,58548,696,32417,871,00002,289,664
6Jan 13, 2024 08:185,58744,334,99516,884,000993,0002,289,664
7Jan 13, 2024 08:185,58743,678,54517,878,00002,289,664
8Jan 13, 2024 08:185,59045,884,07316,896,000993,0002,269,184
9Jan 13, 2024 08:185,59247,274,07316,901,000994,0002,289,664
10Jan 13, 2024 08:185,64678,855,52118,067,69802,301,952
11Jan 13, 2024 08:185,64771,190,57718,069,63902,252,800
12Jan 13, 2024 08:185,66784,287,81018,133,69002,297,856