Documentation

PRO2 - GNU C++ Compiler
Compiler
PRO2
Name
PRO2 - GNU C++ Compiler
Language
C++
Program and version
g++ (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
Description
PRO2 - GNU C++ Compiler
Type
compiler
Flags1
-D_JUDGE_ -D_GLIBCXX_DEBUG -O2 -Wall -Wextra -Werror -Wno-sign-compare -std=c++11 -fno-extended-identifiers
Flags2
-D_JUDGE_ -D_GLIBCXX_DEBUG -O2 -std=c++11
Extension
.cc
Status
Ok

P68688
#include <iostream>
using namespace std;

int main()
{
    cout << "Hello world!" << endl;
}
P57548
#include <iostream>
using namespace std;

int main()
{
    int a, b;
    cin >> a >> b;
    cout << a + b << endl;
}