@[PRXOR](/space/show?uid=165676) 看编译信息似乎是头文件没包含cstdio
by 无意识躺枪人 @ 2019-02-18 11:13:47
不知道您本机是怎么通过的……
by 无意识躺枪人 @ 2019-02-18 11:14:11
/tmp/tmpji7hhvy3/src:7:2: 附注:‘printf’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?}
did you forget to ‘#include <cstdio>’?
did you?(逃
by DevOvO @ 2019-02-18 11:15:43
[...](https://cdn.luogu.com.cn/upload/pic/52161.png)
@[scp_05_tqr](/space/show?uid=117842)
by PRXOR @ 2019-02-18 11:16:02
难道版本不一样?
by PRXOR @ 2019-02-18 11:16:46
windows日常
windows下就算不
```c
#include<vector>
```
也能正常使用
```
vector<int>
```
等定义……
by 无意识躺枪人 @ 2019-02-18 11:19:12
@[PRXOR](/space/show?uid=165676)
by 无意识躺枪人 @ 2019-02-18 11:23:53
@[PRXOR](/space/show?uid=165676) 你加个
```
#include <cstdio>
```
试试
by Kubic @ 2019-02-18 11:34:44
@[Kubic](/space/show?uid=119621) 我用#include<bits/stdc++.h>
by PRXOR @ 2019-02-18 11:58:30
那不就直接好了嘛。。。。
by Kubic @ 2019-02-18 11:59:04