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 8, 2024 20:47AndreyTSAndreyTSScore: 5,942Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 20:475,89345,086,29816,874,0001,985,0002,289,664
2Jun 8, 2024 20:475,89433,571,21116,875,0001,985,0002,531,328
3Jun 8, 2024 20:475,89744,378,85417,877,000993,0002,281,472
4Jun 8, 2024 20:475,89847,053,86916,888,0001,986,0002,289,664
5Jun 8, 2024 20:475,90246,766,97217,892,000994,0002,289,664
6Jun 8, 2024 20:475,91647,998,75617,935,000996,0002,269,184
7Jun 8, 2024 20:475,94241,888,95517,012,0002,001,0002,269,184
8Jun 8, 2024 20:475,94348,360,03917,017,0002,002,0002,367,488
9Jun 8, 2024 20:475,97836,695,58317,115,0002,013,0002,289,664
10Jun 8, 2024 20:476,01888,633,85819,256,48302,297,856
11Jun 8, 2024 20:476,08361,490,64619,466,52502,289,664
12Jun 8, 2024 20:476,17966,368,01719,774,16902,301,952