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 listJan 2, 2023 14:59Jack FrigaardJack FrigaardScore: 5,599Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 14:595,47441,912,15016,486,0001,030,0002,527,232
2Jan 2, 2023 14:595,50239,185,00517,605,00002,535,424
3Jan 2, 2023 14:595,53645,125,33817,716,00002,375,680
4Jan 2, 2023 14:595,58642,899,88115,890,0001,986,0002,527,232
5Jan 2, 2023 14:595,58647,633,98617,876,00002,285,568
6Jan 2, 2023 14:595,59043,260,98016,894,000993,0002,285,568
7Jan 2, 2023 14:595,59939,166,33716,923,000995,0002,285,568
8Jan 2, 2023 14:595,60043,293,52316,925,000995,0002,285,568
9Jan 2, 2023 14:595,60940,966,85916,951,000997,0002,277,376
10Jan 2, 2023 14:595,77589,424,18518,480,96802,289,664
11Jan 2, 2023 14:595,81983,998,21918,620,19602,306,048
12Jan 2, 2023 14:595,92597,152,39418,958,85802,306,048