CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 22:53:44 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=aba466aea13a83cf3af6f46f7f529f00830b14b722ece756e1e1fcb033ba98e1a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%225GTP2ACKxl7ap-t3L_IcHooCdQPRhiiT%22%3B%7D; HttpOnly; Path=/
cf-ray: 98d1ef705c62ad8b-BLR
Get_next_prime_number - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## //определение следующего простого числа, после данного
- var n := ReadInteger;
- var cnt := 0;
- while true do
- begin
- n += 1;
- for var i := 1 to n do if (n mod i = 0) then cnt += 1;
- if (cnt = 2) then
- begin
- Print(n);
- break
- end;
- cnt := 0;
- end;
- ///////////////////////////////
- ## //функция определения следующего простого числа, после данного
- function get_next_prime(n: integer): integer;
- begin
- var cnt := 0;
- while true do
- begin
- n += 1;
- for var i := 1 to n do if (n mod i = 0) then cnt += 1;
- if (cnt = 2) then
- begin
- Print(n);
- break
- end;
- cnt := 0;
- end;
- end;
- //
- var n := ReadInteger;
- get_next_prime(7)
Advertisement
Add Comment
Please, Sign In to add comment
-
⭐⭐⭐GMAIL Logs (2FA disabled)⭐⭐
Java | 3 sec ago | 0.10 KB
-
📌 Swapzone +37% glitch
JavaScript | 5 sec ago | 0.24 KB
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ J
JavaScript | 8 sec ago | 0.25 KB
-
⭐✅ Swapzone Glitch ✅ Working ⭐⭐ X
JavaScript | 10 sec ago | 0.25 KB
-
⭐⭐⭐Make $15OO in 2O minutesV G⭐⭐
Java | 15 sec ago | 0.10 KB
-
⭐✅ Swapzone Glitch ✅ Working ⭐⭐ Q
JavaScript | 17 sec ago | 0.25 KB
-
📝 Exchange profit method
JavaScript | 22 sec ago | 0.24 KB
-
⭐⭐⭐MAKE $900 INSTANTLY⭐⭐
Java | 27 sec ago | 0.10 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand