#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 ;
}
# |
Verdict |
Execution time |
Memory |
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) |