QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#66952#5118. HotelGuanYunchangCompile Error//C540b2022-12-09 14:16:562022-12-09 14:16:58

Details

answer.code: In function ‘main’:
answer.code:8:5: error: ‘cin’ undeclared (first use in this function)
    8 |     cin>>n>>c1>>c2;
      |     ^~~
answer.code:8:5: note: each undeclared identifier is reported only once for each function it appears in
answer.code:24:5: error: ‘cout’ undeclared (first use in this function)
   24 |     cout<<ans<<"\n";
      |     ^~~~