Normes PAC

# Normes du dimensionnement d'une PAC air/eau

En une ligne : la **NF EN 12831-1** et la **NF P 52-612/CN** disent combien de chaleur il faut. L'**EN 442** et l'**EN 1264-2** disent à quelle température d'eau les émetteurs la fournissent. Les **DTU** disent comment poser le tout.

## Rôle de chaque norme

| Étape | Norme | Rôle |
|---|---|---|
| 1. Déperditions | **NF EN 12831-1** | Méthode de calcul des déperditions, pièce par pièce puis du logement, au jour le plus froid. C'est la norme princi

Normes PAC

# Normes du dimensionnement d'une PAC air/eau

En une ligne : la **NF EN 12831-1** et la **NF P 52-612/CN** disent combien de chaleur il faut. L'**EN 442** et l'**EN 1264-2** disent à quelle température d'eau les émetteurs la fournissent. Les **DTU** disent comment poser le tout.

## Rôle de chaque norme

| Étape | Norme | Rôle |
|---|---|---|
| 1. Déperditions | **NF EN 12831-1** | Méthode de calcul des déperditions, pièce par pièce puis du logement, au jour le plus froid. C'est la norme princi

1201. Ugly Number III

An ugly number is a positive integer that is divisible by a, b, or c. Given four integers n, a, b, and c, return the nth ugly number.
/**
 * @param {number} n
 * @param {number} a
 * @param {number} b
 * @param {number} c
 * @return {number}
 */
var nthUglyNumber = function(n, a, b, c) {
    const LIMIT = 2_000_000_000;

    const gcd = (x, y) => y === 0 ? x : gcd(y, x % y);

    // Return LIMIT + 1 if the LCM is too large to affect the count.
    const cappedLcm = (x, y) => {
        if (x > LIMIT) return LIMIT + 1;

        const reduced = x / gcd(x, y);

        // Check before multiplying, so the product stays within safe 

1357. Apply Discount Every n Orders

There is a supermarket that is frequented by many customers. The products sold at the supermarket are represented as two parallel integer arrays products and prices, where the ith product has an ID of products[i] and a price of prices[i]. When a customer is paying, their bill is represented as two parallel integer arrays product and amount, where the jth product they purchased has an ID of product[j], and amount[j] is how much of the product they bought. Their subtotal is calculated as the sum of each amount[j] * (price of the jth product). The supermarket decided to have a sale. Every nth customer paying for their groceries will be given a percentage discount. The discount amount is given by discount, where they will be given discount percent off their subtotal. More formally, if their subtotal is bill, then they would actually pay bill * ((100 - discount) / 100). Implement the Cashier class: Cashier(int n, int discount, int[] products, int[] prices) Initializes the object with n, the discount, and the products and their prices. double getBill(int[] product, int[] amount) Returns the final total of the bill with the discount applied (if any). Answers within 10-5 of the actual value will be accepted.
/**
 * @param {number} n
 * @param {number} discount
 * @param {number[]} products
 * @param {number[]} prices
 */
var Cashier = function(n, discount, products, prices) {
    this.n = n;
    this.discount = discount;
    this.customerCount = 0;

    // Map each product ID to its price.
    this.prices = new Map();
    for (let i = 0; i < products.length; i++) {
        this.prices.set(products[i], prices[i]);
    }
};

/** 
 * @param {number[]} product 
 * @param {number[]} amount
 * @return {nu

2076. Process Restricted Friend Requests

You are given an integer n indicating the number of people in a network. Each person is labeled from 0 to n - 1. You are also given a 0-indexed 2D integer array restrictions, where restrictions[i] = [xi, yi] means that person xi and person yi cannot become friends, either directly or indirectly through other people. Initially, no one is friends with each other. You are given a list of friend requests as a 0-indexed 2D integer array requests, where requests[j] = [uj, vj] is a friend request between person uj and person vj. A friend request is successful if uj and vj can be friends. Each friend request is processed in the given order (i.e., requests[j] occurs before requests[j + 1]), and upon a successful request, uj and vj become direct friends for all future friend requests. Return a boolean array result, where each result[j] is true if the jth friend request is successful or false if it is not. Note: If uj and vj are already direct friends, the request is still successful.
/**
 * @param {number} n
 * @param {number[][]} restrictions
 * @param {number[][]} requests
 * @return {boolean[]}
 */
var friendRequests = function(n, restrictions, requests) {
    const parent = Array.from({ length: n }, (_, i) => i);
    const rank = Array(n).fill(0);

    // Find a person's current group, compressing the path along the way.
    function find(x) {
        if (parent[x] !== x) {
            parent[x] = find(parent[x]);
        }
        return parent[x];
    }

    // Merge t

Obsidian -Ignore temp files-

Include this folders to ignored elements in Syncthing to avoid temporal file conflicts for Obsidian vaults.

```
// Obsidian UI state, differs per device
.obsidian/workspace.json
.obsidian/workspace-mobile.json

// Optional: keep plugin caches local
.obsidian/plugins/*/data.json
```

3947. Maximum Number of Items From Sale II

You are given a 2D integer array items, where items[i] = [factori, pricei] represents the ith item. You are also given an integer budget. There are unlimited copies of each item available for purchase. You may buy any number of copies of any items such that the total cost of the purchased copies is at most budget. After buying items, you may receive free copies according to the following rules: Each purchased copy of item i can give you at most one free copy of another item j. The free item must satisfy i != j and factori divides factorj. For each ordered pair (i, j), you can receive a free copy of item j from purchases of item i at most once, regardless of how many copies of item i you buy. The same item j can be received multiple times for free if it is received from purchases of different item types. Return the maximum total number of item copies you can obtain, including both purchased copies and free copies, while spending at most budget on purchased items.
/**
 * @param {number[][]} items
 * @param {number} budget
 * @return {number}
 */
var maximumSaleItems = function(items, budget) {
    const n = items.length;
    let maxFactor = 0;
    let minPrice = Infinity;

    for (const [factor, price] of items) {
        maxFactor = Math.max(maxFactor, factor);
        minPrice = Math.min(minPrice, price);
    }

    // Count how many item types have each factor.
    const freq = Array(maxFactor + 1).fill(0);
    for (const [factor] of items) {
        

3946. Maximum Number of Items From Sale I

You are given a 2D integer array items, where items[i] = [factori, pricei] represents the ith item. You are also given an integer budget. There are unlimited copies of each item available for purchase.You may buy any number of copies of any items such that the total cost of the purchased copies is at most budget. After buying items, you may receive free copies according to the following rules: For each item i that you bought at least one copy of, you receive one free copy of every item j such that j != i and factori divides factorj. Buying multiple copies of the same item i does not give additional free copies through item i. The same item j can be received multiple times for free if it is received from purchases of different item types. Return the maximum total number of item copies you can obtain, including both purchased copies and free copies, while spending at most budget on purchased items.
/**
 * @param {number[][]} items
 * @param {number} budget
 * @return {number}
 */
var maximumSaleItems = function(items, budget) {
    const n = items.length;
    const cheapestPrice = Math.min(...items.map(item => item[1]));

    // freeCount[i] is the number of free copies granted by buying type i.
    const freeCount = new Array(n).fill(0);
    for (let i = 0; i < n; i++) {
        const factor = items[i][0];

        for (let j = 0; j < n; j++) {
            if (i !== j && items[j][0] % fac

Css Mask for badge with icon eg:


      span {
        @apply inline-flex items-center gap-1.5;

        &::before {
          content: '';
          @apply size-4 shrink-0 bg-black;
          mask: var(--type-icon) center / contain no-repeat;
        }

        &[data-state-id='4'] {
          --type-icon: url('/assets/gfx/svg/fe-servis.svg');
        }
        &[data-state-id='5'] {
          --type-icon: url('/assets/gfx/svg/fe-lupa.svg');
        }
      }

Añadir versión de librería con hash git

Usa los archivos `Directory.Build.props` y `Directory.Build.targets`. MSBuild (desde VS 2017 / MSBuild 15) busca estos archivos de forma automática, subiendo por las carpetas desde cada `.csproj`, y los importa sin tocar los proyectos. Funciona también con los `.csproj` de formato clásico de .NET Framework 4.8.1, porque importan `Microsoft.Common.props` y `Microsoft.Common.targets`, que son los que cargan esos archivos.

## Estructura

```
MiSolucion/
├── MiSolucion.sln
├── Directory.Buil

Añadir versión

La limitación clave es que `AssemblyVersion` y `AssemblyFileVersion` solo admiten números (4 partes, cada una de 0 a 65535). Un hash de git no cabe ahí. El campo que sí acepta texto libre es `AssemblyInformationalVersion`, y Windows lo muestra como **"Versión del producto"** en Propiedades → Detalles. Así que la idea es esta:

| Atributo | Valor | Dónde se ve |
|---|---|---|
| `AssemblyVersion` | `1.2.0.0` | La usa .NET para enlazar ensamblados |
| `AssemblyFileVersion` | `1.2.0.0` | "Versi

General_Listening_Practice_Set_2_Test_7

B
C
B
A
A
B
D
E
G
I
vegetables
export
competition
holiday
children
C
E
A
B
F- D
B
A
A- C
B
C
N
K
C
confirmation letter
password
social
Teenagers
bones
hyperactivity
sugar
low-fat milk
machines


careful education

Rhode Island Deck Restoration - Deck Restoration Providence RI

# Rhode Island Deck Restoration

[Rhode Island Deck Restoration](https://rhodeislanddeckrestoration.com/) — deck restoration Providence RI.

Deck restoration, refinishing, staining and sealing, cleaning, board and railing repair, resurfacing, porch and dock restoration in Providence and 20 nearby Rhode Island towns.

- Website: https://rhodeislanddeckrestoration.com/
- Phone: (401) 485-3885
- Email: info@rhodeislanddeckrestoration.com
- Location: Providence, RI
- Hours: Mon-Sat 7am-7pm
- Free on

3360. Stone Removal Game

Alice and Bob are playing a game where they take turns removing stones from a pile, with Alice going first. Alice starts by removing exactly 10 stones on her first turn. For each subsequent turn, each player removes exactly 1 fewer stone than the previous opponent. The player who cannot make a move loses the game. Given a positive integer n, return true if Alice wins the game and false otherwise.
/**
 * @param {number} n
 * @return {boolean}
 */
var canAliceWin = function(n) {
    let stonesToRemove = 10;
    let aliceTurn = true;

    while (n >= stonesToRemove) {
        n -= stonesToRemove;
        stonesToRemove--;
        aliceTurn = !aliceTurn;
    }

    // The player whose turn it is cannot make a move.
    // Alice wins if that player is Bob.
    return !aliceTurn;
};

Clave_Primaria_SQL

CREATE TABLE clientes (
    cliente_id INT PRIMARY KEY,
    nombre VARCHAR(100) NOT NULL
);

CREATE TABLE pedidos (
    pedido_id INT PRIMARY KEY,
    cliente_id INT NOT NULL,
    total DECIMAL(10, 2),
    CONSTRAINT fk_pedidos_cliente
        FOREIGN KEY (cliente_id)
        REFERENCES clientes(cliente_id)
        ON DELETE CASCADE
);