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 listJun 13, 2021 10:58Dmitry DolgopolovDmitry DolgopolovScore: 5,020Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 10:584,99742,246,43713,991,0001,998,0002,531,328
2Jun 13, 2021 10:584,99938,672,29413,997,0001,999,0002,453,504
3Jun 13, 2021 10:585,00030,511,68714,000,0002,000,0002,269,184
4Jun 13, 2021 10:585,00348,407,42014,007,0002,001,0002,441,216
5Jun 13, 2021 10:585,00833,334,06114,022,0002,003,0002,269,184
6Jun 13, 2021 10:585,01731,583,34114,047,0002,006,0002,269,184
7Jun 13, 2021 10:585,02028,384,08114,056,0002,008,0002,445,312
8Jun 13, 2021 10:585,03238,050,28114,090,0002,012,0002,441,216
9Jun 13, 2021 10:585,03438,439,20814,096,0002,013,0002,269,184
10Jun 13, 2021 10:585,20460,155,39216,654,30902,203,648
11Jun 13, 2021 10:585,24179,098,41616,769,76702,199,552
12Jun 13, 2021 10:585,24572,741,55816,784,59302,203,648