제출 #938373

#제출 시각아이디문제언어결과실행 시간메모리
938373ezzzayTracks in the Snow (BOI13_tracks)C++14
2.19 / 100
629 ms31960 KiB
#include<bits/stdc++.h> using namespace std; #define ff first #define ss second const int N=4e3+2; char arr[N][N]; signed main(){ int n,m; cin>>n>>m; set<char>st; for(int i=1;i<=n;i++){ for(int j=1;j<=m;j++){ cin>>arr[i][j]; if(arr[i][j]!='.')st.insert(arr[i][j]); } } cout<<st.size(); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...