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 26, 2024 08:32Dmitrii KravchenkoDmitrii KravchenkoScore: 4,885Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 26, 2024 08:324,85041,941,72814,487,0001,034,0002,281,472
2Nov 26, 2024 08:324,86735,986,63714,535,0001,038,0002,281,472
3Nov 26, 2024 08:324,87742,963,28413,525,0002,080,0002,281,472
4Nov 26, 2024 08:324,88032,644,16913,534,0002,082,0002,277,376
5Nov 26, 2024 08:324,88531,279,57513,548,0002,084,0002,277,376
6Nov 26, 2024 08:324,88836,234,74513,558,0002,085,0002,281,472
7Nov 26, 2024 08:324,89135,015,49814,607,0001,043,0002,273,280
8Nov 26, 2024 08:324,89530,441,00714,621,0001,044,0002,281,472
9Nov 26, 2024 08:324,89942,046,83314,633,0001,045,0002,281,472