Compile Error
foo.cc:1:1: error: ‘include’ does not name a type 1 | include<bits/stdc++.h> | ^~~~~~~ foo.cc: In function ‘int main()’: foo.cc:6:9: error: ‘cin’ was not declared in this scope 6 | cin>>n; | ^~~ foo.cc:7:16: warning: unnecessary parentheses in declaration of ‘i’ [-Wparentheses] 7 | for(int(i)=0;i<n;i++) | ^~~ foo.cc:7:16: note: remove parentheses 7 | for(int(i)=0;i<n;i++) | ^~~ | - - foo.cc:15:9: error: ‘cout’ was not declared in this scope 15 | cout<<y<<" "<<x; | ^~~~
信息
- 递交者
- 类型
- 自测
- 题目
- P2848 奇数和偶数2024.12GESP1级T2
- 语言
- C++
- 递交时间
- 2025-07-19 13:19:31
- 评测时间
- 2025-07-19 13:19:31
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes