# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
339957 | AlperenT | Esej (COCI15_esej) | C++17 | 14 ms | 876 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
using namespace std;
long long a, b, cnt;
int main(){
scanf("%lld %lld", &a, &b);
for(int i = 0; i < 26; i++){
for(int j = 0; j < 26; j++){
for(int k = 0; k < 26; k++){
for(int l = 0; l < 26; l++){
printf("%c%c%c%c ", (char)('a' + i), (char)('a' + j), (char)('a' + k), (char)('a' + l));
cnt++;
if(cnt == b) return 0;
}
}
}
}
}
컴파일 시 표준 에러 (stderr) 메시지
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |