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 13, 2023 00:35gchebanovgchebanovScore: 5,525Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2023 00:355,47038,998,36616,474,0001,029,0002,289,664
2Jul 13, 2023 00:355,48543,860,05417,551,00002,289,664
3Jul 13, 2023 00:355,48545,420,33216,521,0001,032,0002,269,184
4Jul 13, 2023 00:355,48832,992,69316,528,0001,033,0002,519,040
5Jul 13, 2023 00:355,49751,143,59716,557,0001,034,0002,527,232
6Jul 13, 2023 00:355,51238,947,25516,602,0001,037,0002,265,088
7Jul 13, 2023 00:355,52538,380,95117,679,00002,363,392
8Jul 13, 2023 00:355,52846,807,99016,649,0001,040,0002,269,184
9Jul 13, 2023 00:355,58035,252,03116,864,000992,0002,289,664
10Jul 13, 2023 00:355,67284,872,30818,151,32502,179,072
11Jul 13, 2023 00:355,68377,203,31718,184,74002,179,072
12Jul 13, 2023 00:355,70290,307,47418,247,58302,297,856