Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
83363 刘泽熙 矩阵倒序输出 C++ Compile Error 0 MS 0 KB 262 2024-07-14 14:24:52

Tests(0/0):


Code:

#inclide<bits/stdc++.h> using namespace std; int a[10][10]; int main(){ int n[10],m[10]; cin>>n>>m; for(int i=0;i<n;i++){ for(int j=0;j<m;i++){ cin>>a[i][j]; } } for(int i=0;i<n;i++){ for(int j=0;j<m;j--){ cout<<a[i][j]; } } }


Run Info:

Main.cc:1:2: error: invalid preprocessing directive #inclide
 #inclide
  ^
Main.cc: In function 'int main()':
Main.cc:6:2: error: 'cin' was not declared in this scope
  cin>>n>>m;
  ^
Main.cc:7:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
  for(int i=0;i