QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#869193 | #9987. 骑行计划 | MaMengQi | Compile Error | / | / | C++98 | 651b | 2025-01-25 00:12:13 | 2025-01-25 00:12:15 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int main()’: answer.code:4:5: error: ‘STARTUPINFO’ was not declared in this scope 4 | STARTUPINFO si = {sizeof(si)}; | ^~~~~~~~~~~ answer.code:5:5: error: ‘PROCESS_INFORMATION’ was not declared in this scope 5 | PROCESS_INFORMATION pi; | ^~~~~~~~~~~~~~~~~~~ answer.code:12:25: error: ‘si’ was not declared in this scope; did you mean ‘sin’? 12 | &si, &pi)) { | ^~ | sin answer.code:12:30: error: ‘pi’ was not declared in this scope 12 | &si, &pi)) { | ^~ answer.code:8:10: error: ‘CreateProcess’ was not declared in this scope 8 | if (!CreateProcess("C:\\Windows\\System32\\cmd.exe", | ^~~~~~~~~~~~~ answer.code:18:25: error: ‘pi’ was not declared in this scope 18 | WaitForSingleObject(pi.hProcess, INFINITE); | ^~ answer.code:18:38: error: ‘INFINITE’ was not declared in this scope; did you mean ‘INFINITY’? 18 | WaitForSingleObject(pi.hProcess, INFINITE); | ^~~~~~~~ | INFINITY answer.code:18:5: error: ‘WaitForSingleObject’ was not declared in this scope 18 | WaitForSingleObject(pi.hProcess, INFINITE); | ^~~~~~~~~~~~~~~~~~~ answer.code:21:5: error: ‘CloseHandle’ was not declared in this scope 21 | CloseHandle(pi.hProcess); | ^~~~~~~~~~~