/ Vijos /

记录详情

Compile Error

foo.cpp:1:1: error: 'include' does not name a type
 include <bits/stdc++.h>
 ^~~~~~~
foo.cpp: In function 'void dfs(int, int, int, int)':
foo.cpp:9:22: error: 'printf' was not declared in this scope
 printf("%c", after[q]);
                      ^
foo.cpp: In function 'int main()':
foo.cpp:16:33: error: 'scanf' was not declared in this scope
 scanf("%s%s", mid + 1, after + 1);
                                 ^
foo.cpp:17:19: error: 'strlen' was not declared in this scope
 n = strlen(mid + 1);
                   ^

信息

递交者
类型
递交
题目
P1132 求二叉树的先序序列
语言
C++
递交时间
2017-02-23 17:51:09
评测时间
2017-02-23 17:51:09
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes