Submission #4214

#TimeUsernameProblemLanguageResultExecution timeMemory
4214dbfud간지(干支) (KOI13_kanji)C++98
Compilation error
0 ms0 KiB
#include <iostream> #include <string> #include <vector> using namespace std; int main() { int year = 0 ; cin >> year ; int sibgan[10] = { 6,7,8,9,0,1,2,3,4,5} ; char sibez[12] = {'I','J','K','L','A','B','C','D','E','F','G','H'}; int sibganIndex = year % 10 ; int sibezIndex = year % 12 ; cout << sibez[sibezIndex] << sibgan[sibganIndex] ; system("PAUSE"); return 0; }

Compilation message (stderr)

kanji.cpp: In function 'int main()':
kanji.cpp:22:19: error: 'system' was not declared in this scope