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 20, 2021 02:23Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 20, 2021 02:2300000Wrong answer: expected "979947 ", got "62684 121195 128051 177889 180729 198691 258946 320175 531073 690300 719727 784482 839792 905260 1007198 1199089 1221704 1277776 1335095 1337479 1454916 1469545 1496339 1558096 1580231 1629354 1679913 1700878 1774...