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 21, 2024 11:51LaihoLaihoScore: 5,374Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2024 11:515,34143,038,82316,086,0001,005,0002,371,584
2Dec 21, 2024 11:515,34233,555,82616,089,0001,005,0002,379,776
3Dec 21, 2024 11:515,35237,941,33015,112,0002,014,0002,359,296
4Dec 21, 2024 11:515,36840,946,98216,166,0001,010,0002,363,392
5Dec 21, 2024 11:515,37445,018,10115,175,0002,023,0002,285,568
6Dec 21, 2024 11:515,37543,812,65816,190,0001,011,0002,285,568
7Dec 21, 2024 11:515,38336,625,05916,212,0001,013,0002,363,392
8Dec 21, 2024 11:515,39245,289,94415,224,0002,029,0002,367,488
9Dec 21, 2024 11:515,43541,547,75916,369,0001,023,0002,285,568