teams.cpp: In function 'int can(int, int*)':
teams.cpp:24:12: warning: conversion from 'time_t' {aka 'long int'} to 'unsigned int' may change value [-Wconversion]
24 | srand(time(0));
| ~~~~^~~
teams.cpp:34:19: warning: comparison of integer expressions of different signedness: 'std::set<int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
34 | if(myset.size()<sum)return 0;
| ~~~~~~~~~~~~^~~~
teams.cpp:47:19: warning: comparison of integer expressions of different signedness: 'std::set<int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
47 | if(myset.size()<sum)return 0;
| ~~~~~~~~~~~~^~~~