답안 #583855

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
583855 2022-06-26T10:29:00 Z MilosMilutinovic Esej (COCI15_esej) C++14
0 / 80
45 ms 25736 KB
/**
 *    author:  wxhtzdy
 *    created: 26.06.2022 12:23:35
**/
#include <bits/stdc++.h>

using namespace std;

int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);  
  int a, b;
  cin >> a >> b;                   
  vector<vector<char>> s;
  for (char i = 'a'; i <= 'z'; i++) {
    for (char j = 'a'; j <= 'z'; j++) {
      for (char k = 'a'; k <= 'z'; k++) {
        for (char p = 'a'; p <= 'z'; p++) {
          s.push_back({i, j, k, p});
        }
      }
    }
  }
  function<void(vector<char>)> Print = [&](vector<char> c) {
    for (int i = 0; i < 4; i++) {
      cout << c[i];
    }
    cout << '\n';
  };
  while (a--) {
    Print(s.back());
    s.pop_back();
  }                                                                  
  return 0;
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 27 ms 25332 KB Output isn't correct
2 Incorrect 39 ms 25336 KB Output isn't correct
3 Incorrect 31 ms 25340 KB Output isn't correct
4 Incorrect 27 ms 25360 KB Output isn't correct
5 Incorrect 29 ms 25288 KB Output isn't correct
6 Incorrect 28 ms 25332 KB Output isn't correct
7 Incorrect 29 ms 25356 KB Output isn't correct
8 Incorrect 42 ms 25664 KB Output isn't correct
9 Incorrect 45 ms 25736 KB Output isn't correct
10 Incorrect 30 ms 25332 KB Output isn't correct