Skip to content

Instantly share code, notes, and snippets.

View DarkHole1's full-sized avatar
👁️

Dark Hole DarkHole1

👁️
View GitHub Profile
using System;
namespace ConsoleApplication
{
public class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
using System;
namespace ConsoleApplication
{
public class Program
{
public static void Main(string[] args)
{
// Ввод и вывод
Console.WriteLine("Линия с переносом");
#!/bin/bash
ping $1 | awk 'BEGIN { ORS=" " } /^$/ { exit } !/^PING/ { sub(/time=/, "", $7); print "\033[1K\033[G" $7 }'
sing System;
namespace ConsoleApplication
{
public class Program
{
public static void Main(string[] args)
{
string login, password;
Console.Write("Login: ");
const rl = require('readline').createInterface({
input: process.stdin
})
rl.question('', ans => {
ans = parseAns(ans)
const [n, k] = ans;
rl.question('', ans => {
ans = parseAns(ans)
const min = (ans[ans.length - 1] - ans[0]) / k
#!/data/data/com.termux/files/usr/bin/bash
dde=("grant_type=password" \
"client_id=2274003" \
"client_secret=hHbZxrka2uZ6jB1inYsH" \
"v=5")
data() {
for i in ${dde[@]} $@
do
echo --data-urlencode "$i"
done
const rl = require('readline').createInterface({
input: process.stdin
})
rl.question('', ans => {
const a = parseInt(ans)
rl.question('', ans => {
ans = parseAns(ans)
if(ans[0] == 1) console.log(`${ans[0] ^ 2} 2`)
else console.log(`${ans[0] ^ 1} 1`)
})
const rl = require('readline').createInterface({
input: process.stdin
})
let c_bridges = 0, bridges, down, visited;
let n, m, v, u;
rl.question('', ans => {
[n, m, v, u] = parseAns(ans)
c_bridges = m;
bridges = [];
visited = [];
const rl = require('readline').createInterface({
input: process.stdin
})
rl.question('', ans => {
const a = parseInt(ans)
rl.question('', ans => {
ans = parseAns(ans)
let y = ans.reduce((a, b) => a ^ b),
x = 1;
while(ans.includes(x ^ y) || ans.includes(x)) ++x
const rl = require('readline').createInterface({
input: process.stdin
})
let c_bridges = 0, bridges, down, visited;
let n, m, v, u;
rl.question('', ans => {
[n, m, v, u] = parseAns(ans)
c_bridges = m;
bridges = [];
visited = [];