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 listNov 6, 2024 23:34CountHarebourgCountHarebourgScore: 5,983Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2024 23:335,96048,305,88318,070,0001,003,0002,265,088
2Nov 6, 2024 23:335,96945,075,91817,092,0002,010,0002,289,664
3Nov 6, 2024 23:345,97753,651,01617,112,0002,013,0002,289,664
4Nov 6, 2024 23:345,98351,788,99818,139,0001,007,0002,289,664
5Nov 6, 2024 23:336,01746,946,36117,229,0002,026,0002,265,088
6Nov 6, 2024 23:346,03548,130,36717,279,0002,032,0002,273,280