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 17, 2024 16:55Mikhail ShirokovMikhail ShirokovScore: 4,693Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 17, 2024 16:554,66436,135,12612,935,0001,990,0002,289,664
2Nov 17, 2024 16:554,67730,901,18313,970,000997,0002,289,664
3Nov 17, 2024 16:554,68234,000,73112,985,0001,997,0002,289,664
4Nov 17, 2024 16:554,68837,787,24313,000,0002,000,0002,289,664
5Nov 17, 2024 16:554,69336,729,92613,015,0002,002,0002,289,664
6Nov 17, 2024 16:554,69533,554,82013,020,0002,003,0002,514,944
7Nov 17, 2024 16:554,69837,559,78513,028,0002,004,0002,265,088
8Nov 17, 2024 16:554,70440,117,50213,046,0002,007,0002,273,280
9Nov 17, 2024 16:554,70741,724,89314,058,0001,004,0002,277,376