bartender.cpp: In member function 'void b13::carry_over()':
bartender.cpp:9:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < digits.size(); i++){
~~^~~~~~~~~~~~~~~
bartender.cpp: In function 'b13* ad13(b13*, b13*)':
bartender.cpp:32:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < min(a->digits.size(), b->digits.size()); ++i){
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bartender.cpp:35:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(; i < a->digits.size(); ++i){
~~^~~~~~~~~~~~~~~~~~
bartender.cpp:38:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(; i < b->digits.size(); ++i){
~~^~~~~~~~~~~~~~~~~~
bartender.cpp: In function 'b13* mp13(b13*, b13*)':
bartender.cpp:47:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < a->digits.size(); ++i){
~~^~~~~~~~~~~~~~~~~~
bartender.cpp:48:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < b->digits.size(); ++j){
~~^~~~~~~~~~~~~~~~~~
bartender.cpp:49:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i+j >= res->digits.size()){
~~~~^~~~~~~~~~~~~~~~~~~~~
bartender.cpp: In function 'b13* sb13(b13*, b13*)':
bartender.cpp:65:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < min(a->digits.size(), b->digits.size()); ++i){
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bartender.cpp:68:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(; i < a->digits.size(); ++i){
~~^~~~~~~~~~~~~~~~~~
bartender.cpp:71:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < res->digits.size(); ++i){
~~^~~~~~~~~~~~~~~~~~~~
bartender.cpp: In function 'std::vector<int> BlendWines(int, std::vector<int>)':
bartender.cpp:101:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i > pno->digits.size()){
~~^~~~~~~~~~~~~~~~~~~~
taster.cpp: In member function 'void b13::carry_over()':
taster.cpp:9:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < digits.size(); i++){
~~^~~~~~~~~~~~~~~
taster.cpp: In function 'b13* ad13(b13*, b13*)':
taster.cpp:32:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < min(a->digits.size(), b->digits.size()); ++i){
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
taster.cpp:35:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(; i < a->digits.size(); ++i){
~~^~~~~~~~~~~~~~~~~~
taster.cpp:38:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(; i < b->digits.size(); ++i){
~~^~~~~~~~~~~~~~~~~~
taster.cpp: In function 'b13* mp13(b13*, b13*)':
taster.cpp:47:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < a->digits.size(); ++i){
~~^~~~~~~~~~~~~~~~~~
taster.cpp:48:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < b->digits.size(); ++j){
~~^~~~~~~~~~~~~~~~~~
taster.cpp:49:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i+j >= res->digits.size()){
~~~~^~~~~~~~~~~~~~~~~~~~~
taster.cpp: In function 'b13* sb13(b13*, b13*)':
taster.cpp:65:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < min(a->digits.size(), b->digits.size()); ++i){
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
taster.cpp:68:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(; i < a->digits.size(); ++i){
~~^~~~~~~~~~~~~~~~~~
taster.cpp:71:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < res->digits.size(); ++i){
~~^~~~~~~~~~~~~~~~~~~~