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 listDec 14, 2024 13:16MatthiasMatthiasScore: 26,206Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 14, 2024 13:1421,252107,778,49864,007,0004,000,0002,523,136
2Dec 14, 2024 13:1421,495114,075,10364,737,0004,046,0002,523,136
3Dec 14, 2024 13:1421,507117,696,60763,836,0004,987,0002,523,136
4Dec 14, 2024 13:1626,206131,226,06778,927,0004,932,0002,277,376
5Dec 14, 2024 13:1626,338121,742,26179,265,0005,016,0002,519,040
6Dec 14, 2024 13:1626,407127,847,62880,527,0003,976,0002,519,040