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 29, 2024 06:21byrtoletbyrtoletScore: 6,402Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2024 06:216,00592,427,24019,217,12402,297,856
2Jul 29, 2024 06:216,06892,763,43719,416,96802,289,664
3Jul 29, 2024 06:216,24292,227,34419,973,77002,174,976
4Jul 29, 2024 06:216,37844,971,17619,389,0001,020,0002,289,664
5Jul 29, 2024 06:216,38743,347,89719,417,0001,021,0002,273,280
6Jul 29, 2024 06:216,39750,521,65019,447,0001,023,0002,265,088
7Jul 29, 2024 06:216,40244,221,89419,463,0001,024,0002,289,664
8Jul 29, 2024 06:216,41244,815,11919,493,0001,025,0002,379,776
9Jul 29, 2024 06:216,42243,245,22719,522,0001,027,0002,289,664
10Jul 29, 2024 06:216,42843,157,26620,570,00002,269,184
11Jul 29, 2024 06:216,43546,494,84519,562,0001,029,0002,289,664
12Jul 29, 2024 06:216,45146,361,81319,610,0001,032,0002,265,088