This file contains 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
group: IU Databases. Lab 3. Tasks | |
description: Tasks database for the "Databases" course in Innopolis University. | |
Students = { | |
SID:number, Name:string, Surname:string | |
1, Warren, Hayes | |
2, Clement, Valdez | |
3, Albion, Fraley | |
4, Bailey, Ruiz | |
} |
This file contains 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
group: IU Databases. Lab 3. Example | |
description: Example database for the "Databases" course in Innopolis University. | |
Supplier = { | |
SID:number, Name:string, City:string | |
1, Robert, Moscow | |
2, Denis, Saratov | |
3, Patrick, Moscow | |
4, Bailey, Kazan | |
} |
This file contains 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> | |
#include <vector> | |
using namespace std; | |
int main(int argc, char[] *argv) | |
{ | |
This file contains 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> // cin, cout | |
#include <cmath> // sqrt | |
#include <iomanip> // setpresicion | |
using namespace std; | |
int main() { | |
// Настраиваем консоль выводить 12 знаков после запятой | |
cout << setprecision(12); |
This file contains 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
#!/usr/bin/env python3 | |
""" | |
Forked from: https://gist.github.com/mdonkers/63e115cc0c79b4f6b8b3a6b797e485c7 | |
""" | |
import logging | |
from http.server import BaseHTTPRequestHandler, HTTPServer | |
# Server address is a tuple of 'host' and 'port' | |
SERVER_ADDRESS = ("127.0.0.1", 8000) |
This file contains 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> | |
#include <vector> | |
#include <algorithm> | |
typedef long long ll; | |
typedef unsigned long long ull; | |
using namespace std; |