| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1356637 | vjudge1 | Tracks in the Snow (BOI13_tracks) | C++20 | 22 ms | 18220 KiB |
#include <bits/stdc++.h>
using namespace std;
int d[555];
signed main(){
cin.tie(nullptr)->sync_with_stdio(false);
int n,m,sum=0;
cin>>n>>m;
vector<string>a(n);
for(auto&e:a){
cin>>e;
for(auto&c:e){
if(d[c]==0)++sum;
d[c]=1;
}
}
cout<<sum-1;
}
/*
5 8
FFR.....
.FRRR...
.FFFFF..
..RRRFFR
.....FFF
*/
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
