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 22, 2024 21:59HighloadGPTO1HighloadGPTO1Score: 5,934Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2024 21:595,91649,854,72315,941,0002,989,0002,277,376
2Dec 22, 2024 21:595,92444,425,09216,961,0001,995,0002,269,184
3Dec 22, 2024 21:595,92448,117,87017,959,000997,0002,273,280
4Dec 22, 2024 21:595,92852,296,37516,973,0001,996,0002,273,280
5Dec 22, 2024 21:595,93446,802,31916,991,0001,998,0002,273,280
6Dec 22, 2024 21:595,95439,283,51117,049,0002,005,0002,273,280
7Dec 22, 2024 21:595,96049,909,93317,064,0002,007,0002,273,280
8Dec 22, 2024 21:595,96046,109,79618,068,0001,003,0002,269,184
9Dec 22, 2024 21:595,96743,882,10917,084,0002,009,0002,265,088