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 8, 2024 19:07AndreyTSAndreyTSScore: 5,299Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 19:075,26344,851,98314,861,0001,981,0002,269,184
2Jun 8, 2024 19:075,26538,082,92515,858,000991,0002,289,664
3Jun 8, 2024 19:075,26739,613,62614,872,0001,982,0002,277,376
4Jun 8, 2024 19:075,26842,264,74115,865,000991,0002,269,184
5Jun 8, 2024 19:075,28040,101,21615,841,0001,056,0002,289,664
6Jun 8, 2024 19:075,29044,379,08515,933,000995,0002,273,280
7Jun 8, 2024 19:075,29940,118,02915,959,000997,0002,277,376
8Jun 8, 2024 19:075,31334,005,35315,003,0002,000,0002,269,184
9Jun 8, 2024 19:075,32039,170,26816,022,0001,001,0002,289,664
10Jun 8, 2024 19:075,50486,915,54217,613,32302,179,072
11Jun 8, 2024 19:075,51397,307,12917,642,79502,179,072
12Jun 8, 2024 19:075,774105,483,23118,477,50402,293,760