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 20, 2024 14:57Huy Duc LeHuy Duc LeScore: 5,651Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 20, 2024 14:575,59640,867,96115,919,0001,989,0002,281,472
2Feb 20, 2024 14:575,60444,152,60615,942,0001,992,0002,527,232
3Feb 20, 2024 14:575,60941,287,91215,954,0001,994,0002,531,328
4Feb 20, 2024 14:575,62240,442,15615,992,0001,999,0002,281,472
5Feb 20, 2024 14:575,63247,553,94216,020,0002,002,0002,281,472
6Feb 20, 2024 14:575,64646,488,41416,060,0002,007,0002,281,472
7Feb 20, 2024 14:575,65139,761,07715,069,0003,013,0002,527,232
8Feb 20, 2024 14:575,65635,496,74216,089,0002,011,0002,523,136
9Feb 20, 2024 14:575,66139,604,00717,110,0001,006,0002,273,280
10Feb 20, 2024 14:575,86591,842,72118,768,33502,195,456
11Feb 20, 2024 14:575,87884,597,78918,808,07702,183,168
12Feb 20, 2024 14:575,91491,631,43118,925,33002,297,856