Skip to content

Instantly share code, notes, and snippets.

const {Client, Intents, MessageActionRow, MessageEmbed, MessageSelectMenu, Permissions} = require('discord.js');
const {token} = require('./config.json');
const client = new Client({
intents: [
Intents.FLAGS.GUILDS,
Intents.FLAGS.GUILD_MESSAGES,
Intents.FLAGS.MESSAGE_CONTENT
]
});
#include <iostream>
#include <cmath>
using namespace std;
int main() {
int N;
int max = 0, sum = 0;
int count = 0;
cin >> N;