Skip to content

Instantly share code, notes, and snippets.

#include <bits/stdc++.h>
#include <time.h>
using namespace std;
int main (){
int x,r=0,m,amount = 0;
cin >> x;
char vote[x][x];
int temp[x];
for (int i = 0;i < x ; i ++){
temp[i] = 0;
https://oj.nslhk.edu.vn/problem/hsghn2003
#include<bits/stdc++.h>
typedef long long int ll;
typedef unsigned long long int ull;
#define dbg printf("in\n")
#define nl printf("\n")
#define N 510
#define inf 1e6
2cv7YeYyFb3DteY
#include <bits/stdc++.h>
using namespace std;
int main()
{
int x,sum = 1;
cin >> x;
int a[x];
for (int i =0;i<x;i++){
cin >> a[i];
}
#include<bits/stdc++.h>
using namespace std;
int main() {
int i = 0,j,k=0;
bool con = true;
char a[50]= {'b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b','b'};
cin.getline(a,50);
while (con == true){
if (a[i+2] == 'b'){
@namhung271
namhung271 / ex3
Created September 23, 2022 08:30
https://ibb.co/x6MZpsR
https://ibb.co/d68RkhV
https://ibb.co/k8qJNL0