Submission #5316

#TimeUsernameProblemLanguageResultExecution timeMemory
5316baneling100간지(干支) (KOI13_kanji)C++98
14 / 14
0 ms1088 KiB
#include <stdio.h> int n, b; char a; void input(void) { scanf("%d",&n); n%=60; } void process(void) { int temp; temp=n%12; a='I'; a+=temp; if(a>'L') a-=12; temp=n%10; b=6; b+=temp; if(b>9) b-=10; } void output(void) { printf("%c%d",a,b); } int main(void) { input(); process(); output(); return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...