Submission #1092783

#TimeUsernameProblemLanguageResultExecution timeMemory
1092783juicyTracks in the Snow (BOI13_tracks)C++17
2.19 / 100
202 ms16028 KiB
#include <bits/stdc++.h> using namespace std; #ifdef LOCAL #include "debug.h" #else #define debug(...) 42 #endif int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int n, m; cin >> n >> m; map<char, int> mp; for (int i = 0; i < n; ++i) { for (int j = 0; j < m; ++j) { char c; cin >> c; if (c != '.') { mp[c]++; } } } cout << mp.size(); return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...