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
| ALTER TABLE Products ADD | |
| Category NVARCHAR(100), | |
| Brand NVARCHAR(100), | |
| Discount DECIMAL(5,2), | |
| DeliveryDate DATE, | |
| Manufacturer NVARCHAR(100); | |
| ------------ | |
| SELECT SUM(Price * Quantity * (1 - ISNULL(Discount,0)/100.0)) AS Income |
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
| DATAS у .NET 10 | |
| Механізм DATAS, який з’явився раніше, у .NET 10 став ефективнішим: тепер він точніше підлаштовує роботу GC під реальне навантаження та розмір живих об’єктів, зменшуючи непотрібні колекції, згладжуючи паузи та враховуючи фрагментацію. | |
| Це забезпечує більш стабільний throughput і плавніші паузи, особливо при високій частоті алокацій або змінному навантаженні, наприклад у web‑серверах, мікросервісах та API. | |
| Write-barrier для Arm64 | |
| У .NET 10 реалізація write-barrier для архітектури Arm64 стала точнішою. Write-barrier відслідковує зміни посилань між поколіннями, що необхідно для коректної роботи поколіннєвого GC. | |
| Нова реалізація за замовчуванням підвищує точність і продуктивність GC, скорочуючи паузи на 8–20 % у типовому навантаженні. |
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
| #include <iostream> | |
| #include <string> | |
| using namespace std; | |
| // Электрочайник | |
| class Electrochainik { | |
| private: | |
| string brand; | |
| float volume; | |
| int* temps; |
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
| // Электрочайник | |
| class Electrochainik { | |
| private: | |
| string brand; | |
| float volume; | |
| public: | |
| Electrochainik(string brand, float volume) { | |
| SetBrand(brand); | |
| SetVolume(volume); |
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
| Main.cpp | |
| #include "electrochainik.h" | |
| #include "kniga.h" | |
| #include "telephon.h" | |
| #include "gelevayaruchka.h" | |
| #include "cupura.h" | |
| int main() { | |
| Electrochainik kettle("Philips", 1.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
| #include <iostream> | |
| #include <string> | |
| using namespace std; | |
| // Электрочайник | |
| class Electrochainik { | |
| private: | |
| string brand; | |
| float volume; |
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
| #include <iostream> | |
| #include <string> | |
| using namespace std; | |
| class Electrochainik { | |
| public: | |
| string brand; | |
| float volume; | |
| Electrochainik(string brand, float volume) |
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
| #include <iostream> | |
| #include <vector> | |
| #include <cstdlib> | |
| #include <ctime> | |
| #include <algorithm> | |
| using namespace std; | |
| int main() { | |
| srand(time(0)); |
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
| def add(x, y): | |
| return x + y | |
| def subtract(x, y): | |
| return x - y | |
| def multiply(x, y): | |
| return x * y | |
| def divide(x, y): |
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
| Index.html | |
| <!DOCTYPE html> | |
| <html lang="uk"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Сайт класу</title> | |
| <link rel="stylesheet" href="style.css"> | |
| </head> | |
| <body> |
NewerOlder