记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:2: error: 'cin' was not declared in this scope
  cin>>n;
  ^~~
/in/foo.cc:14:4: error: 'cout' was not declared in this scope
    cout<<" "<<setw(4)<<j*n+i;
    ^~~~
/in/foo.cc:14:21: error: 'setw' was not declared in this scope
    cout<<" "<<setw(4)<<j*n+i;
                     ^
/in/foo.cc:16:3: error: 'cout' was not declared in this scope
   cout<<endl;
   ^~~~
/in/foo.cc:16:9: error: 'endl' was not declared in this scope
   cout<<endl;
         ^~~~

信息

递交者
类型
自测
题目
P1206 C1-2 列主序的数字矩阵
语言
C++
递交时间
2024-11-12 17:24:39
评测时间
2024-11-12 17:24:39
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes