Submission #944393

#TimeUsernameProblemLanguageResultExecution timeMemory
944393rainboy간지(干支) (KOI13_kanji)C11
14 / 14
1 ms604 KiB
#include <stdio.h> int main() { int n; scanf("%d", &n); printf("%c%d\n", (n + 8) % 12 + 'A', (n + 6) % 10); return 0; }

Compilation message (stderr)

kanji.c: In function 'main':
kanji.c:6:2: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
    6 |  scanf("%d", &n);
      |  ^~~~~~~~~~~~~~~
#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...