Skip to content

Instantly share code, notes, and snippets.

C:\Users\vantlord>cd /d D:\badsound
D:\badsound>dub
## Warning for package badsound ##
The following compiler flags have been specified in the package description
file. They are handled by DUB and direct use in packages is discouraged.
Alternatively, you can set the DFLAGS environment variable to pass custom flags
to the compiler, or use one of the suggestions below:
GSConnect Version: 30
GSConnect Install: user
GJS: 15801
XDG_SESSION_TYPE: x11
GDMSESSION: ubuntu
--------------------------------------------------------------------------------
-- Logs begin at Fri 2019-11-08 09:25:47 EET, end at Mon 2019-12-23 16:07:38 EET. --
Dec 23 16:04:03 kernel: usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
Dec 23 16:04:07 kernel: usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
GSConnect Version: 30
GSConnect Install: user
GJS: 15801
XDG_SESSION_TYPE: x11
GDMSESSION: ubuntu
--------------------------------------------------------------------------------
-- Logs begin at Fri 2019-11-08 09:25:47 EET, end at Mon 2019-12-23 16:07:38 EET. --
Dec 23 16:04:03 kernel: usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
Dec 23 16:04:07 kernel: usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
#######
LanguageClient 0.1.161
#######
11:30:06 DEBUG unnamed src/language_client.rs:108 state: null ==> {"capabilities":{},"code_lens":{},"diagnostics":{},"highlight_match_ids":[],"highlight_source":null,"highlights":{},"highlights_placed":{},"initialization_options":null,"inlay_hints":{},"last_cursor_line":0,"last_line_diagnostic":" ","logger":{"level":"DEBUG","path":"/home/antlord/.local/share/nvim/LanguageClient.log"},"namespace_ids":{},"registrations":[],"roots":{},"semantic_highlights":{},"semantic_scope_to_hl_group_table":{},"semantic_scopes":{},"stashed_code_action_actions":[],"text_documents":{},"text_documents_metadata":{},"user_handlers":{},"viewports":{}}
11:30:06 INFO unnamed src/language_server_protocol.rs:3580 settings synced
11:30:06 INFO unnamed src/language_server_protocol.rs:3607 Project root: /mnt/home/wantlord/develop/study/languageclienttest
11:30:06 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"s:EchomsgEllipsis","params":["Project root: /mnt/home/wantlord/de
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
<classpathentry kind="lib" path="/path/to/lib/stdlib.jar"/>
<classpathentry kind="lib" path="/path/to/lib/algs4.jar"/>
<classpathentry kind="lib" path="/path/to/lib/introcs.jar"/>
</classpath>
#include <bits/stdc++.h>
using namespace std;
const int N = 3e5 + 5;
int n, k, p, prv[N];
int main() {
// readining input