Compare commits

...

6 Commits

Author SHA1 Message Date
5a1094d59e Add new plugin 2026-02-16 18:06:26 -03:00
3b1762ad09 Fix GCC not allowing sanitizers to do their work 2026-01-16 19:36:00 -03:00
1566b7fdc1 Add transparencty to the config 2026-01-16 17:19:54 -03:00
f3d4395f72 Add INF constants 2025-12-15 12:45:33 -03:00
3227957636 Change again because now it looks cooler or something 2025-10-20 11:34:34 -03:00
83e4097ab7 Change template 2025-10-20 11:32:17 -03:00
5 changed files with 42 additions and 14 deletions

View File

@@ -2,18 +2,19 @@ return {
"AstroNvim/astrocommunity", "AstroNvim/astrocommunity",
{ import = "astrocommunity.colorscheme.catppuccin" }, { import = "astrocommunity.colorscheme.catppuccin" },
-- { {
-- "catppuccin", "catppuccin",
-- opts = { opts = {
-- integrations = { integrations = {
-- ts_rainbow2 = true, ts_rainbow2 = true,
-- treesitter = true, treesitter = true,
-- } },
-- }, transparent_background = true
},
-- config = function() -- config = function()
-- vim.api.nvim_set_hl(0, "LspInlayHint", { bg = "#1e1e2f" }) -- vim.api.nvim_set_hl(0, "LspInlayHint", { bg = "#1e1e2f" })
-- end -- end
-- }, },
-- { import = "astrocommunity.pack.cpp" }, -- { import = "astrocommunity.pack.cpp" },

View File

@@ -42,6 +42,7 @@ return {
signcolumn = "auto", -- sets vim.opt.signcolumn to auto signcolumn = "auto", -- sets vim.opt.signcolumn to auto
wrap = false, -- sets vim.opt.wrap wrap = false, -- sets vim.opt.wrap
expandtab = false, expandtab = false,
cursorline = false,
tabstop = 8, tabstop = 8,
shiftwidth = 8, shiftwidth = 8,
showtabline = 8, showtabline = 8,

View File

@@ -21,8 +21,8 @@ return {
evaluate_template_modifiers = true, evaluate_template_modifiers = true,
received_problems_prompt_path = false, received_problems_prompt_path = false,
compile_command = { compile_command = {
c = { exec = "gcc", args = { "-O0", "-Wall", "-g", "-DDEBUG", "-fsanitize=address,undefined", "-std=c23", "$(FNAME)", "-o", "$(FNOEXT).out", "-lm" } }, c = { exec = "gcc", args = { "-O0", "-Wall", "-ggdb3", "-DDEBUG", "-fsanitize=address,undefined", "-std=c23", "$(FNAME)", "-o", "$(FNOEXT).out", "-lm" } },
cpp = { exec = "g++", args = { "-O0", "-Wall", "-g", "-DDEBUG", "-fsanitize=address,undefined", "-std=c++20", "$(FNAME)", "-o", "$(FNOEXT).out" } }, cpp = { exec = "g++", args = { "-O0", "-Wall", "-ggdb3", "-DDEBUG", "-fsanitize=address,undefined", "-D__OPTIMIZE__", "-std=c++20", "$(FNAME)", "-o", "$(FNOEXT).out" } },
}, },
run_command = { run_command = {
c = { exec = "./$(FNOEXT).out" }, c = { exec = "./$(FNOEXT).out" },

View File

@@ -0,0 +1,4 @@
return {
"MeanderingProgrammer/render-markdown.nvim",
lazy = false
}

View File

@@ -75,10 +75,32 @@ auto operator>>(istream &is, vector<vector<v>> &vec)->istream& {
return is; return is;
} }
const int oo = INT32_MAX >> 1;
const ll OO = INT64_MAX >> 1;
void pre()
{
}
#define TEST 1
void solve()
{
}
int main() int main()
{ {
ios::sync_with_stdio(false); ios::sync_with_stdio(false);
cin.tie(nullptr); cin.tie(nullptr);
pre();
int t;
(TEST && cin >> t) || (t = 1);
while (t--) {
solve();
}
} }