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 listMay 27, 2021 16:59Yurkov AlekseyYurkov AlekseyScore: 5,962Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 16:595,90552,431,16916,906,0001,989,0002,273,280
2May 27, 2021 16:595,92245,427,77316,955,0001,994,0002,289,664
3May 27, 2021 16:595,93043,189,42616,978,0001,997,0002,269,184
4May 27, 2021 16:595,94843,820,31518,033,0001,001,0002,289,664
5May 27, 2021 16:595,95742,740,07817,057,0002,006,0002,289,664
6May 27, 2021 16:595,95847,208,30417,058,0002,006,0002,269,184
7May 27, 2021 16:595,96236,328,02817,071,0002,008,0002,269,184
8May 27, 2021 16:595,98049,052,10318,129,0001,007,0002,273,280
9May 27, 2021 16:595,99343,107,12117,159,0002,018,0002,359,296
10May 27, 2021 16:596,11448,010,83719,563,21302,174,976
11May 27, 2021 16:596,16643,848,33719,729,85402,289,664
12May 27, 2021 16:596,17482,319,97219,756,76702,174,976