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 listFeb 28, 2024 04:59Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,518Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 28, 2024 04:595,42354,606,31317,354,65602,174,976
2Feb 28, 2024 04:595,42976,390,92817,374,30302,297,856
3Feb 28, 2024 04:595,47495,396,84917,515,62302,293,760
4Feb 28, 2024 04:595,50239,077,70416,571,0001,035,0002,281,472
5Feb 28, 2024 04:595,51238,101,94517,639,00002,281,472
6Feb 28, 2024 04:595,51743,916,77016,616,0001,038,0002,519,040
7Feb 28, 2024 04:595,51842,731,02017,656,00002,396,160
8Feb 28, 2024 04:595,51835,121,91517,657,00002,404,352
9Feb 28, 2024 04:595,52036,192,12917,664,00002,392,064
10Feb 28, 2024 04:595,53143,650,12516,659,0001,041,0002,281,472
11Feb 28, 2024 04:595,53241,860,84417,703,00002,396,160
12Feb 28, 2024 04:595,53645,585,68316,672,0001,042,0002,392,064