제출 #911648

#제출 시각아이디문제언어결과실행 시간메모리
911648Faisal_Saqib크레이피쉬 글쓰는 기계 (IOI12_scrivener)C++17
0 / 100
2397 ms262144 KiB
#include <iostream> using namespace std; const int MAXT=2e6+1; const int LG=21; int tm=1; int pre[MAXT][LG]; void Init() { for(int j=0;j<MAXT;j++) { for(int k=0;k<LG;k++) { pre[j][k]=MAXT; } } } void TypeLetter(char L) { } void UndoCommands(int U) { } char GetLetter(int P) { }

컴파일 시 표준 에러 (stderr) 메시지

scrivener.cpp: In function 'char GetLetter(int)':
scrivener.cpp:28:1: warning: no return statement in function returning non-void [-Wreturn-type]
   28 | }
      | ^
#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...