Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
65124 刘宇轩 图像相似度 C++ Compile Error 0 MS 0 KB 455 2024-01-23 21:13:36

Tests(0/0):


Code:

#include <iostream> using namespace std; int a[100][100]; int b[100][100]; int main(){ int n,m; double c; cin>>n>>m; for(int i=0;i<n;i++){ for(int j=0;j<n;j++){ cin>>a[i][j]; } } for(int i=0;i<m;i++){ for(int j=0;j<m;j++){ cin>>b[i][j]; } } if(n>m){ for(int i=0;i<m;i++){ for(int j=0;j<m;j++){ if(a[i][j]!) } } } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:22:24: error: expected ')' before '!' token
              if(a[i][j]!)
                        ^
Main.cc:23:10: error: expected primary-expression before '}' token
          }
          ^
Main.cc:7:12: warning: unused variable 'c' [-Wunused-variable]
     double c;
            ^