/in/main.cpp:71:1: error: 'unordered_map' does not name a type
unordered_map<string, User> users;
^~~~~~~~~~~~~
/in/main.cpp: In function 'void loadUsers(const string&)':
/in/main.cpp:270:9: error: 'users' was not declared in this scope
users[userId] = user;
^~~~~
/in/main.cpp:270:9: note: suggested alternative: 'user'
users[userId] = user;
^~~~~
user
/in/main.cpp: In function 'void processCommands()':
/in/main.cpp:291:17: error: 'users' was not declared in this scope
if (users.find(userId) != users.end() && users[userId].pin == pin)
^~~~~
/in/main.cpp:291:17: note: suggested alternative: 'userId'
if (users.find(userId) != users.end() && users[userId].pin == pin)
^~~~~
userId
/in/main.cpp:313:17: error: 'users' was not declared in this scope
if (users[userId].validIPs.find(ip) == users[userId].validIPs.end() || users[userId].validIPs.empty())
^~~~~
/in/main.cpp:313:17: note: suggested alternative: 'userId'
if (users[userId].validIPs.find(ip) == users[userId].validIPs.end() || users[userId].validIPs.empty())
^~~~~
userId
/in/main.cpp:355:17: error: 'users' was not declared in this scope
if (users.find(t.senderId) == users.end())
^~~~~
/in/main.cpp:355:17: note: suggested alternative: 'User'
if (users.find(t.senderId) == users.end())
^~~~~
User
/in/main.cpp:363:17: error: 'users' was not declared in this scope
if (users.find(t.recipientId) == users.end())
^~~~~
/in/main.cpp:363:17: note: suggested alternative: 'User'
if (users.find(t.recipientId) == users.end())
^~~~~
User
/in/main.cpp:371:31: error: 'users' was not declared in this scope
if (t.timestamp < users[t.senderId].regTime || t.timestamp < users[t.recipientId].regTime)
^~~~~
/in/main.cpp:371:31: note: suggested alternative: 'User'
if (t.timestamp < users[t.senderId].regTime || t.timestamp < users[t.recipientId].regTime)
^~~~~
User
/in/main.cpp:379:17: error: 'users' was not declared in this scope
if (users[t.senderId].validIPs.empty())
^~~~~
/in/main.cpp:379:17: note: suggested alternative: 'User'
if (users[t.senderId].validIPs.empty())
^~~~~
User
/in/main.cpp:387:17: error: 'users' was not declared in this scope
if (users[t.senderId].validIPs.find(t.IP) == users[t.senderId].validIPs.end())
^~~~~
/in/main.cpp:387:17: note: suggested alternative: 'User'
if (users[t.senderId].validIPs.find(t.IP) == users[t.senderId].validIPs.end())
^~~~~
User
/in/main.cpp:411:17: error: 'users' was not declared in this scope
if (users[t.senderId].regTime < t.execDate - 50000000000)
^~~~~
/in/main.cpp:411:17: note: suggested alternative: 'User'
if (users[t.senderId].regTime < t.execDate - 50000000000)
^~~~~
User
/in/main.cpp: In function 'void executeTransaction()':
/in/main.cpp:436:20: error: 'users' was not declared in this scope
User &sender = users[t.senderId];
^~~~~
/in/main.cpp:436:20: note: suggested alternative: 'User'
User &sender = users[t.senderId];
^~~~~
User
/in/main.cpp: In function 'void handleQueries()':
/in/main.cpp:509:17: error: 'users' was not declared in this scope
if (users.find(userId) == users.end())
^~~~~
/in/main.cpp:509:17: note: suggested alternative: 'userId'
if (users.find(userId) == users.end())
^~~~~
userId