QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#746403 | #9566. Topology | ucup-team4946# | Compile Error | / | / | C++14 | 3.9kb | 2024-11-14 14:30:22 | 2024-11-14 14:30:22 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘int main()’: answer.code:139:56: error: expected ‘}’ at end of input 139 | rep (i, 1, n) printf("%d%c", ans[i], "\n "[i < n]); | ^ answer.code:128:12: note: to match this ‘{’ 128 | int main() { | ^ answer.code:129:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 129 | scanf("%d", &n); | ~~~~~^~~~~~~~~~ answer.code:132:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 132 | scanf("%d", &u), adj[u].push_back(i); | ~~~~~^~~~~~~~~~