| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 83689 | 刘宇轩 | 图像相似度 | Python3 | Compile Error | 0 MS | 0 KB | 534 | 2024-07-14 16:30:35 |
#include <iostream> using namespace std; int a[100][100]; int b[100][100]; int main(){ int n,m; double c=0; cin>>n>>m; for(int i=0;i<n;i++){ for(int j=0;j<m;j++){ cin>>a[i][j]; } } for(int i=0;i<n;i++){ for(int j=0;j<m;j++){ cin>>b[i][j]; } } for(int i=0;i<n;i++){ for(int j=0;j<m;j++){ if(a[i][j]==b[i][j]){ c++; } } } c=c*100/(n*m); printf("%.2lf",c); return 0; }
File "Main.py", line 2
using namespace std;
^
SyntaxError: invalid syntax