QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#96786 | #6128. Flippy Sequence | GuanYunchang | Compile Error | / | / | C11 | 900b | 2023-04-15 16:18:44 | 2023-04-15 16:18:47 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘main’: answer.code:57:4: error: ‘cout’ undeclared (first use in this function); did you mean ‘cnt’? cout << res1 + res2 << endl; ^~~~ cnt answer.code:57:4: note: each undeclared identifier is reported only once for each function it appears in answer.code:57:27: error: ‘endl’ undeclared (first use in this function) cout << res1 + res2 << endl; ^~~~ answer.code:15:2: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&T); ^~~~~~~~~~~~~~ answer.code:19:3: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^~~~~~~~~~~~~~ answer.code:20:3: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",s); ^~~~~~~~~~~~~ answer.code:29:3: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",s); ^~~~~~~~~~~~~