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 listJul 22, 2024 23:26Joad NacerJoad NacerScore: 5,374Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2024 23:265,32238,737,10315,027,0002,003,0002,277,376
2Jul 22, 2024 23:265,33334,336,61715,057,0002,007,0002,273,280
3Jul 22, 2024 23:265,33840,432,87415,072,0002,009,0002,289,664
4Jul 22, 2024 23:265,34343,460,42515,086,0002,011,0002,379,776
5Jul 22, 2024 23:265,34340,291,31216,093,0001,005,0002,289,664
6Jul 22, 2024 23:265,35639,662,07815,123,0002,016,0002,289,664
7Jul 22, 2024 23:265,37439,403,97215,174,0002,023,0002,289,664
8Jul 22, 2024 23:265,37539,226,10815,176,0002,023,0002,289,664
9Jul 22, 2024 23:265,37841,701,46116,199,0001,012,0002,269,184
10Jul 22, 2024 23:265,51577,885,40017,647,48902,310,144
11Jul 22, 2024 23:265,54092,661,84517,728,12002,297,856
12Jul 22, 2024 23:265,55481,249,66817,773,46602,297,856