Skip to content

Instantly share code, notes, and snippets.

#include <bits/stdc++.h>
using namespace std;
struct node{
int v, w;
node *l, *r;
node(int v_=0){
v = v_;
#include <bits/stdc++.h>
using namespace std;
struct node{
int v, w, sz, sum;
node *l, *r;
bool rev;
node(int v_=0){
v = sum = v_;
#include <bits/stdc++.h>
using namespace std;
int cartas[1010];
int resp[3];
int main() {
int n, N, K, c = 0;
#include <iostream>
using namespace std;
int main() {
long long A, B;
cin >> A >> B;
cout << (A*B)%10 << "\n";
return 0;
}
#include <iostream>
using namespace std;
int main() {
long long A, B;
cin >> A >> B;
long long C = (A%10);
long long D = (B%10);
#include <iostream>
#include <set>
using namespace std;
int main(){
set<string> conj; // Declaro o conjunto de pomekons.
int N;
cin >> N;
for(int i=0;i<N;i++){
string a;
#include <bits/stdc++.h>
using namespace std;
int a[100100], b[100100], v[100100];
int main() {
int n, ans = 0;
#include <vector> // Biblioteca que contem a estrutura vector
using namespace std;
int main() {
vector<int> v1; // Declaracao de um vector do tipo int
vector<double> v2; // Declaracao de um vector do tipo double
return 0;
}
#include <vector> // Biblioteca que contem a estrutura vector
using namespace std;
int main() {
vector<int> v; // Declaracao de um vector do tipo int
// No inicio o vetor esta vazio
v.push_back(1); // Insiro o elemento 1 no final do vetor
#include <vector> // Biblioteca que contem a estrutura vector
using namespace std;
int main() {
vector<int> v; // Declaracao de um vector do tipo int
// No inicio o vetor esta vazio
v.push_back(1); // Insiro o elemento 1 no final do vetor