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 1, 2022 07:35Keichi TakahashiKeichi TakahashiScore: 5,501Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 1, 2022 07:355,45939,740,83416,443,0001,027,0002,273,280
2Jun 1, 2022 07:355,46033,050,87317,472,00002,289,664
3Jun 1, 2022 07:355,46340,173,01516,455,0001,028,0002,273,280
4Jun 1, 2022 07:355,47241,106,22617,510,00002,289,664
5Jun 1, 2022 07:355,48239,488,48217,542,00002,289,664
6Jun 1, 2022 07:355,49138,057,84316,538,0001,033,0002,277,376
7Jun 1, 2022 07:355,50141,671,85416,568,0001,035,0002,273,280
8Jun 1, 2022 07:355,50539,835,32516,580,0001,036,0002,273,280
9Jun 1, 2022 07:355,50642,542,93316,583,0001,036,0002,273,280
10Jun 1, 2022 07:355,65185,459,40318,084,55002,174,976
11Jun 1, 2022 07:355,67680,168,07718,162,59402,297,856
12Jun 1, 2022 07:355,69283,582,90218,214,66102,174,976