Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
111080 | 陈婷婷 | 12for循环练习II | C++ | Compile Error | 0 MS | 0 KB | 331 | 2025-02-26 14:48:39 |
#include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int i1,j1; cin>>i1>>j1; for(int i=i1;i<=j1;i++) { cout<<i<<endl; } return 0; }
Main.cc: In function 'int main()': Main.cc:8:5: error: 'cin' was not declared in this scope cin>>i1>>j1; ^ Main.cc:11:9: error: 'cout' was not declared in this scope cout<