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, 2024 12:44AndreyTSAndreyTSScore: 5,471Success
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, 2024 12:445,43845,202,05716,378,0001,023,0002,289,664
2Jun 13, 2024 12:445,43940,848,85116,381,0001,023,0002,289,664
3Jun 13, 2024 12:445,45844,005,26716,439,0001,027,0002,289,664
4Jun 13, 2024 12:445,46542,642,86716,461,0001,028,0002,527,232
5Jun 13, 2024 12:445,46734,849,35117,493,00002,269,184
6Jun 13, 2024 12:445,46940,024,90016,471,0001,029,0002,269,184
7Jun 13, 2024 12:445,47137,191,64616,478,0001,029,0002,523,136
8Jun 13, 2024 12:445,48143,566,02917,538,00002,281,472
9Jun 13, 2024 12:445,48440,173,07216,518,0001,032,0002,289,664
10Jun 13, 2024 12:445,67485,149,76818,156,50702,301,952
11Jun 13, 2024 12:445,73978,657,74718,363,69202,174,976
12Jun 13, 2024 12:445,84188,627,31318,692,57702,293,760