답안 #381393

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
381393 2021-03-25T07:20:32 Z BilAktauAlmansur ZigZag (COCI17_zigzag) C++17
0 / 80
75 ms 5212 KB
#include <bits/stdc++.h>
using namespace std;
int main () {
	int a, b;
	cin>>a>>b;
	vector <string> s;
	vector <char> s1;
	for (int i=0; i<a; i++) {
		string s2;
		cin>>s2;
		s.push_back(s2);
	}
	for (int i=0; i<b; i++) {
		char ch;
		cin>>ch;
		s1.push_back(ch);
	}
	for (int i=0; i<b; i++) {
		int j=0;
		if (s1[i]==s[i][j]) {
			cout << s[i] << endl;
		}		
	}
		return 0;
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 364 KB Output isn't correct
2 Runtime error 2 ms 492 KB Execution killed with signal 11
3 Incorrect 2 ms 364 KB Output isn't correct
4 Incorrect 2 ms 364 KB Output isn't correct
5 Incorrect 1 ms 364 KB Output isn't correct
6 Incorrect 1 ms 364 KB Output isn't correct
7 Incorrect 71 ms 5212 KB Output isn't correct
8 Incorrect 72 ms 5212 KB Output isn't correct
9 Incorrect 75 ms 5212 KB Output isn't correct
10 Incorrect 73 ms 5212 KB Output isn't correct