Skip to content

Instantly share code, notes, and snippets.



View GitHub Profile

System Info:

  1. uname -a:

    Linux fedora 5.14.10-300.fc35.x86_64 #1 SMP Thu Oct 7 20:48:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
  2. lsb_release:

    lsb_release not found.

  3. /etc/lsb-release:

View vignette-error.log
$ dotnet run --project Vignette.Desktop -129- 12:30:04
[runtime] 2021-08-11 04:31:22 [verbose]: Connected MIDI device: Midi Through Port-0
[runtime] 2021-08-11 04:31:22 [verbose]: GL Initialized
[runtime] 2021-08-11 04:31:22 [verbose]: GL Version: 3.0 Mesa 20.2.6
[runtime] 2021-08-11 04:31:22 [verbose]: GL Renderer: Mesa DRI Intel(R) HD Graphics 4400 (HSW GT2)
[runtime] 2021-08-11 04:31:22 [verbose]: GL Shader Language version: 1.30
[runtime] 2021-08-11 04:31:22 [verbose]: GL Vendor: Intel Open Source Technology Center
[runtime] 2021-08-11 04:31:22 [verbose]: GL Extensions: GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_po
View 6185.cpp
// Problem : P6185 [NOI Online #1 提高组]序列(民间数据)
// Contest : Luogu
// URL :
// Memory Limit : 250 MB
// Time Limit : 2000 ms
// Powered by CP Editor (
#include <bits/stdc++.h>
using namespace std;
Ravenclaw-OIer /
Created Jul 15, 2020
RavenclawOIer's Code Style Requirements

0. Definations

  • Must means that the requirement that directly follows this word (shortened as "this requirement") should be observed at all times and with no exception
  • Should means that this requirement should be observed unless under certain circumstances.
  • Recommended means that this requirement is considered good and will be the first choice should the need arise.
  • Unless means that this requirement is exempted if and only if the condition following it applies.

1. Brackets

  1. Opening curly brackets ({) must be on the same line as the block it opens, with exactly one space preceding it. Example: