Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <map>
- #include <iostream>
- using namespace std;
- int main() {
- map<int, int> m;
- if (m[0])
- cout << "tem zero\n";
- else
- cout << "nao tem zero\n";
- if (m[0])
- cout << "tem zero\n";
- else
- cout << "nao tem zero\n";
- m[0];
- if (m[0])
- cout << "tem zero\n";
- else
- cout << "nao tem zero\n";
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement