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 12, 2024 19:37AndreyTSAndreyTSScore: 5,702Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 19:375,67440,735,20916,139,0002,017,0002,273,280
2Jun 12, 2024 19:375,67643,384,03417,153,0001,009,0002,289,664
3Jun 12, 2024 19:375,67841,155,35117,159,0001,009,0002,289,664
4Jun 12, 2024 19:375,69047,704,59616,186,0002,023,0002,277,376
5Jun 12, 2024 19:375,69047,221,45516,186,0002,023,0002,289,664
6Jun 12, 2024 19:375,69935,906,54316,212,0002,026,0002,523,136
7Jun 12, 2024 19:375,70248,530,45616,218,0002,027,0002,289,664
8Jun 12, 2024 19:375,71246,604,29916,247,0002,030,0002,289,664
9Jun 12, 2024 19:375,72743,393,57017,308,0001,018,0002,273,280
10Jun 12, 2024 19:375,92583,146,29018,961,01502,301,952
11Jun 12, 2024 19:375,93986,790,60419,003,69402,301,952
12Jun 12, 2024 19:375,96479,783,86519,085,80202,301,952