# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
648901 | 2022-10-08T17:10:46 Z | Ghosty_v2 | 마라톤 경주 (COCI14_utrka) | C++14 | 1 ms | 212 KB |
#include <bits/stdc++.h> using namespace std; #define ll long long int main() { ios_base::sync_with_stdio(false); cin.tie(0); int n; cin>>n; vector <string> arr(n); for(int i=0;i<n;i++) cin>>arr[i]; set <string> rapid(arr.begin(),arr.end()); for(int i=0;i<n-1;i++) { string s; cin>>s; rapid.erase(s); } for(auto it:rapid) { cout<<it<<endl; } return 0; }
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 212 KB | Output is correct |
2 | Incorrect | 1 ms | 212 KB | Output isn't correct |
3 | Halted | 0 ms | 0 KB | - |