Language
C++
Compiler
gcc 10.1.0
Options
Warnings
Don't Use Boost
C++2a
-pedantic
Raw compiler options
-DONLINE_JUDGE
$ g++ prog.cc -Wall -Wextra -std=c++2a -pedantic -DONLINE_JUDGE
1 614
10 20
20 40
30 10
555 111
Exit Code:
0
Author
anonymous
about 4 years ago
C++
gcc 10.1.0
Author
anonymous
about 4 years ago
$ g++ prog.cc -Wall -Wextra -std=c++2a -pedantic -DONLINE_JUDGE
prog.cc: In function 'int main()':
prog.cc:25:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | for(int i=0;i<Data.size();i++){
| ~^~~~~~~~~~~~
1 614
10 20
20 40
30 10
555 111