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 7, 2024 11:16SSE4SSE4Score: 5,900Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 7, 2024 11:165,85844,081,28817,706,0001,041,0002,289,664
2Nov 7, 2024 11:165,89350,652,74017,866,000992,0002,289,664
3Nov 7, 2024 11:165,89546,674,30316,880,0001,985,0002,367,488
4Nov 7, 2024 11:165,89649,073,97117,875,000993,0002,289,664
5Nov 7, 2024 11:165,90047,103,95616,892,0001,987,0002,531,328
6Nov 7, 2024 11:165,90044,008,59416,893,0001,987,0002,289,664
7Nov 7, 2024 11:165,90146,007,29216,895,0001,987,0002,535,424
8Nov 7, 2024 11:165,91345,808,00117,869,0001,051,0002,289,664
9Nov 7, 2024 11:165,93649,897,23316,996,0001,999,0002,269,184