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, 2023 21:36Andranik ChakiryanAndranik ChakiryanScore: 5,888Success
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, 2023 21:365,79235,756,88817,505,0001,029,0002,347,008
2Feb 22, 2023 21:365,83642,355,45818,674,00002,342,912
3Feb 22, 2023 21:365,83849,665,06018,681,00002,347,008
4Feb 22, 2023 21:365,84040,033,89018,687,00002,338,816
5Feb 22, 2023 21:365,84342,395,79316,622,0002,077,0002,334,720
6Feb 22, 2023 21:365,86589,576,34318,767,12002,179,072
7Feb 22, 2023 21:365,88849,660,76616,860,0001,983,0002,342,912
8Feb 22, 2023 21:365,89450,848,60917,870,000992,0002,342,912
9Feb 22, 2023 21:365,90443,309,32017,900,000994,0002,342,912
10Feb 22, 2023 21:365,90448,648,65118,894,00002,355,200
11Feb 22, 2023 21:365,93177,999,87018,977,78302,191,360
12Feb 22, 2023 21:366,00891,694,00919,224,01702,187,264