Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

A+B -8

Author

anonymous

about 2 years ago

Language

C++

Compiler

gcc 12.1.0

Options
Warnings
Boost 1.79.0
C++2b(GNU)
no pedantic

A+B -8

Author

anonymous

about 2 years ago

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.79.0-gcc-12.1.0/include -std=gnu++2b
Case #1: 1 + 1 = 2
Case #2: 2 + 3 = 5
Case #3: 3 + 4 = 7
Case #4: 9 + 8 = 17
Case #5: 5 + 2 = 7
Exit Code:
0