# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
383322 | 2021-03-29T15:26:46 Z | Iwanttobreakfree | Utrka (COCI14_utrka) | C++17 | 1 ms | 364 KB |
#include <iostream> #include <vector> using namespace std; int main(){ int n; string str; cin>>n; vector<string> v(n); for(int i=0;i<n;i++){ cin>>v[i]; } for(int i=0;i<n-1;i++){ cin>>str; for(int j=0;j<n;j++){ if(str==v[j]){ str=""; break; } } } for(int i=0;i<n;i++){ if(v[i]!=""){ cout<<v[i]; break; } } }
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 364 KB | Output is correct |
2 | Incorrect | 1 ms | 364 KB | Output isn't correct |
3 | Halted | 0 ms | 0 KB | - |