updated radicle and removed test files

This commit is contained in:
Mark Randall Havens 2025-05-31 02:31:23 -05:00
parent 1ed92d5130
commit b8b3f7a5ff
7 changed files with 2 additions and 19 deletions

View file

@ -88,24 +88,7 @@ fi
# ╰───────────────────────────────╯
pgrep -f "rad node start" >/dev/null || {
info "Starting Radicle node..."
nohup rad node start > /\#include <bits/stdc++.h>
using namespace std;
int main() {
int t; cin >> t;
while(t--) {
int n; cin >> n;
vector<int> a(n);
for(int i = 0; i < n; i++) cin >> a[i];
int ans = 0;
for(int i = 0; i < n; i++) {
for(int j = i + 1; j < n; j++) {
if(__gcd(a[i], a[j]) <= 2) ans++;
}
}
cout << ans << endl;
}
return 0;
}dev/null 2>&1 &
nohup rad node start > /dev/null 2>&1 &
sleep 3
}