Skip to content

Solved Algorithm & Data Structure problems for Infoarena.ro, the biggest Romanian online community helping thousands of young students learn and train for national and international Computer Science contests, supported by a team of former Olympic students.

License

Notifications You must be signed in to change notification settings

gabriel-vanca/Infoarena

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

infoarena Infoarena

Solved Algorithm & Data Structure problems for Infoarena, the biggest Romanian online community helping thousands of young students learn and train for national and international Computer Science contests, supported by a team of former Olympic students.

C++ Rust Python C Java

C++ Compile & Build Configurations

Compiler Configuration OS
Repo GNU G++ 14.1.0 g++ -std=c++14
-Wall -Wextra -Wpedantic -Wconversion -Wshadow
-fdiagnostics-color=always -DPROFILING -g
Windows 11
Infoarena GNU G++ 10.2.0 g++ -std=c++14 -Wall -O2
-DINFOARENA
-static … -lm
Debian 11
Departament
of Education
GNU G++ g++ -std=c++11 -Wall -O2 Windows
Linux

Parameter Info

    -std=c++23 # standard
    -Wall # base warnings
    -Wextra # extended warnings
    -Wpedantic # issues all warnings demanded by strict ISO C++ rules
    -Wconversion # Warn for implicit conversions that may alter a value
    -Wshadow # Warn whenever a local variable or type declaration shadows another variable, parameter, type, class member (in C++), or instance variable (in Objective-C) or whenever a built-in function is shadowed. Variable shadowing occurs when a variable declared within an inner scope has the same name as a variable declared in an outer scope. This causes the inner variable to “shadow” the outer one, making the outer variable temporarily inaccessible within that inner scope.
    -O3 # optimize code and check for errors in parallel to find potential bugs
    -fdiagnostics-color=always # colour
    -DPROFILING # enable profiling
    -g # build with debug info (You will need this when you want to use gdb or valgrind)
    -IC:\\msys64\\ucrt64\\bin # libraries to include (C:\\msys64\\ucrt64\\bin) (can be repeated)
    ${file} # source file to compile
    -o # set output
    ${fileDirname}\\${fileBasenameNoExtension}.exe  # output file name and location

Sources