Skip to content

Instantly share code, notes, and snippets.

Alberto Xamin albertoxamin

Block or report user

Report or block albertoxamin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View judge.sh
#!/bin/bash
# Judge script
# For personal use only, not to be used on a real judge system
# Execution: put the executable in the same folder with the inputs as .in files and expected outputs as .ans
for input in *.in; do
for ((i=0; i<=3; i++)); do
./a.out < "$input" > "temp"
filename=$(basename ${input%.*}.ans)
result=$(diff -w "$filename" "temp")
@albertoxamin
albertoxamin / Client.cs
Created Feb 8, 2019
ITIS Barsanti Backend
View Client.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;
using Windows.Networking.Connectivity;
using System.Net.Http;
using System.Xml.Linq;
using HtmlAgilityPack;
You can’t perform that action at this time.