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 15, 2024 17:30ii14ii14Score: 5,700Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 15, 2024 17:305,65142,463,99316,073,0002,009,0002,387,968
2Jun 15, 2024 17:305,65442,814,54715,079,0003,015,0002,519,040
3Jun 15, 2024 17:305,65947,984,64416,097,0002,012,0002,387,968
4Jun 15, 2024 17:305,67743,816,88216,147,0002,018,0002,519,040
5Jun 15, 2024 17:305,68347,368,66216,165,0002,020,0002,519,040
6Jun 15, 2024 17:305,68551,916,69316,172,0002,021,0002,523,136
7Jun 15, 2024 17:305,70044,000,51916,214,0002,026,0002,519,040
8Jun 15, 2024 17:305,70539,796,33516,229,0002,028,0002,519,040
9Jun 15, 2024 17:305,71439,777,16417,270,0001,015,0002,387,968
10Jun 15, 2024 17:305,90069,356,29218,881,15702,273,280
11Jun 15, 2024 17:305,94380,424,87719,017,14102,289,664
12Jun 15, 2024 17:305,97893,499,79619,128,60002,293,760