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, 2021 19:27Andrey TsvetkovAndrey TsvetkovScore: 5,702Success
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, 2021 19:275,67743,601,69816,147,0002,018,0002,334,720
2Jul 13, 2021 19:275,67745,665,51916,148,0002,018,0002,334,720
3Jul 13, 2021 19:275,67743,728,99415,139,0003,027,0002,334,720
4Jul 13, 2021 19:275,69467,302,06318,219,26802,236,416
5Jul 13, 2021 19:275,69446,043,30715,184,0003,036,0002,334,720
6Jul 13, 2021 19:275,69639,842,78216,203,0002,025,0002,334,720
7Jul 13, 2021 19:275,70242,166,37115,205,0003,041,0002,387,968
8Jul 13, 2021 19:275,71039,578,28715,227,0003,045,0002,334,720
9Jul 13, 2021 19:275,71134,715,75015,229,0003,045,0002,379,776
10Jul 13, 2021 19:275,71645,089,65815,243,0003,048,0002,531,328
11Jul 13, 2021 19:275,72177,672,06518,308,16602,228,224
12Jul 13, 2021 19:275,86594,437,51218,767,02902,228,224