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 22, 2024 13:36Huy Duc LeHuy Duc LeScore: 4,669Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 13:364,65330,392,23112,903,0001,985,0002,379,776
2Feb 22, 2024 13:364,65349,626,01912,905,0001,985,0002,387,968
3Feb 22, 2024 13:364,65940,610,98413,916,000994,0002,265,088
4Feb 22, 2024 13:364,66343,416,96812,933,0001,989,0002,506,752
5Feb 22, 2024 13:364,66336,892,84212,934,0001,989,0002,265,088
6Feb 22, 2024 13:364,66933,092,93712,950,0001,992,0002,392,064
7Feb 22, 2024 13:364,66944,203,20812,950,0001,992,0002,383,872
8Feb 22, 2024 13:364,67032,237,82212,952,0001,992,0002,392,064
9Feb 22, 2024 13:364,67938,986,84113,976,000998,0002,265,088
10Feb 22, 2024 13:364,90893,554,51515,704,81302,277,376
11Feb 22, 2024 13:364,92193,146,01415,747,66402,289,664
12Feb 22, 2024 13:364,92670,494,63815,761,87902,285,568