This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <cstdio>
char str[60][3] = {"A0","B1","C2","D3","E4","F5","G6","H7","I8","J9","K0","L1","A2","B3","C4","D5","E6","F7","G8","H9","I0","J1","K2","L3","A4","B5","C6","D7","E8","F9","G0","H1","I2","J3","K4","L5","A6","B7","C8","D9","E0","F1","G2","H3","I4","J5","K6","L7","A8","B9","C0","D1","E2","F3","G4","H5","I6","J7","K8","L9"};
int main(){
int n;
scanf("%d",&n);
n += 56;
printf("%s",str[n%60]);
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |