This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace Index1 | |
{ | |
public class Program | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$key = "GDSHG4385743"; | |
$attempt = 0; | |
if (isset($_REQUEST["input"])) | |
{ | |
$attempt=isset($_REQUEST["attempt"])?(int)$_REQUEST["attempt"]:0; | |
$x = $_REQUEST["x"]; | |
$randNumber = encode($_REQUEST["randNumber"], $key); | |
if ($attempt<7) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var n, h: Integer; | |
function isPrime(n: INteger): Boolean; | |
var i: integer; | |
begin | |
isPrime:=true; | |
//for i:=2 to n-1 do - как тебе больше нравится | |
for i:=2 to trunc(sqrt(n)) do | |
if n mod i = 0 then | |
isPrime := false; |
NewerOlder