QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#382730 | #3739. 字符画 | 秦始皇派蒙恬还原神舟十二 (Jiancong Wen, Chu Jin, Zekai Zhang) | Compile Error | / | / | C89 | 299b | 2024-04-08 18:02:57 | 2024-04-08 18:02:58 |
Judging History
This is the latest submission verdict.
- [2024-04-08 18:02:58]
- Judged
- Verdict: Compile Error
- Time: 0ms
- Memory: 0kb
- [2024-04-08 18:02:57]
- Submitted
answer
#include<iostream>//8335366
#include <string>
using namespace std;
int ans = 0;
void func(int num, int score) {
if (score == 70)ans++;
if (score == 100 || num > 30)return;
func(num + 1, score + 10);
func(num + 1, 0);
}
int main() {
func(1, 0);
cout << ans << endl;
return 0;
}
详细
answer.code:1:19: warning: extra tokens at end of #include directive 1 | #include<iostream>//8335366 | ^ answer.code:1:9: fatal error: iostream: No such file or directory 1 | #include<iostream>//8335366 | ^~~~~~~~~~ compilation terminated.