mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
update prime_100
This commit is contained in:
parent
aa0db2286f
commit
acfcae39de
@ -46,7 +46,7 @@ static void prime_number_100(benchmark::State& state) {
|
||||
" j=2\n"
|
||||
" is_prime = 1\n"
|
||||
" for j in range(2,i):\n"
|
||||
" if(i%j==0):\n"
|
||||
" if i%j==0 :\n"
|
||||
" is_prime = 0\n"
|
||||
" break\n"
|
||||
" if is_prime:\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user