Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Viewed less than a minute ago

D09VeSGllPG0Z8j7

C++ gcc 13.2.0

Created at 2 minutes ago

Created by anonymous

Author

anonymous

2 minutes ago

Language

C++

Compiler

gcc 13.2.0

Options
Warnings
Don't Use Boost
C++2b
-pedantic-errors

Author

anonymous

2 minutes ago

›
⌄
⌄
⌄
⌄
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <iostream>

typedef long long ll;

int main(void) {
int a;
ll b;
std::cin >> a >> b;
if (a < b) {
std::cout << "a < b\n";
}
if (a == b) {
std::cout << "a == b\n";
}
if (a >= b) {
std::cout << "a >= b\n";
}
return 0;
}

›
9
1
2
1 2

$ g++ prog.cc -Wall -Wextra -std=c++2b -pedantic-errors
a < b
Exit Code:
0