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 listAug 26, 2024 13:27vahookvahookScore: 4,358Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 26, 2024 13:274,34039,637,09912,897,000992,0002,502,656
2Aug 26, 2024 13:274,34133,171,68612,898,000992,0002,277,376
3Aug 26, 2024 13:274,34728,340,69212,917,000993,0002,494,464
4Aug 26, 2024 13:274,34830,489,41312,921,000993,0002,498,560
5Aug 26, 2024 13:274,35132,953,28312,929,000994,0002,502,656
6Aug 26, 2024 13:274,35638,575,95412,943,000995,0002,498,560
7Aug 26, 2024 13:274,35831,839,76512,949,000996,0002,535,424
8Aug 26, 2024 13:274,37429,652,12512,997,000999,0002,498,560
9Aug 26, 2024 13:274,37531,086,61913,001,0001,000,0002,498,560
10Aug 26, 2024 13:274,60078,646,43414,720,18602,248,704
11Aug 26, 2024 13:274,60289,924,02114,726,44802,244,608
12Aug 26, 2024 13:274,62475,740,37814,797,82002,232,320