답안 #95170

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
95170 2019-01-27T21:12:19 Z MohamedAhmed0 Esej (COCI15_esej) C++14
16 / 80
682 ms 66560 KB
#include <bits/stdc++.h>

using namespace std;

int main()
{
    int a , b ;
    cin>>a>>b ;
    string s = "";
    for(int i = 0 ; i < max(a , (b+1)/2) ; ++i)
    {
        s += 'a' ;
        cout<<s<<" ";
    }
    return 0 ;
}
# 결과 실행 시간 메모리 Grader output
1 Correct 2 ms 504 KB Output is correct
2 Correct 2 ms 256 KB Output is correct
3 Incorrect 2 ms 256 KB Output isn't correct
4 Incorrect 2 ms 504 KB Output isn't correct
5 Incorrect 13 ms 12664 KB Output isn't correct
6 Runtime error 75 ms 66560 KB Memory limit exceeded (if you are sure your verdict is not MLE, please contact us)
7 Runtime error 629 ms 66560 KB Memory limit exceeded (if you are sure your verdict is not MLE, please contact us)
8 Runtime error 682 ms 66560 KB Memory limit exceeded (if you are sure your verdict is not MLE, please contact us)
9 Runtime error 655 ms 66560 KB Memory limit exceeded (if you are sure your verdict is not MLE, please contact us)
10 Runtime error 668 ms 66560 KB Memory limit exceeded (if you are sure your verdict is not MLE, please contact us)