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 9, 2024 14:11AndreyTSAndreyTSScore: 5,400Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 14:115,34636,108,89015,095,0002,012,0002,289,664
2Jun 9, 2024 14:115,36432,558,66916,157,0001,009,0002,527,232
3Jun 9, 2024 14:115,36637,628,46515,152,0002,020,0002,289,664
4Jun 9, 2024 14:115,36943,338,73115,160,0002,021,0002,269,184
5Jun 9, 2024 14:115,38341,422,77315,198,0002,026,0002,269,184
6Jun 9, 2024 14:115,38544,198,38915,204,0002,027,0002,289,664
7Jun 9, 2024 14:115,40038,161,91515,247,0002,033,0002,289,664
8Jun 9, 2024 14:115,40233,792,07815,252,0002,033,0002,371,584
9Jun 9, 2024 14:115,41346,730,48316,303,0001,018,0002,289,664
10Jun 9, 2024 14:115,60862,466,23017,946,87102,174,976
11Jun 9, 2024 14:115,61087,088,53117,953,09102,170,880
12Jun 9, 2024 14:115,64090,461,60318,048,92202,170,880