| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 154450 | 蔡皓霆 | 12输出m的倍数 | C++ | Compile Error | 0 MS | 0 KB | 158 | 2026-05-30 14:07:18 |
#include <bits/stdc++.h> using namespace std; int main() {int n=<1000 for(int m=""; m<=10;m+=m) { cout << m ; } return 0; }
Main.cc: In function 'int main()':
Main.cc:4:8: error: expected primary-expression before '<' token
{int n=<1000
^
Main.cc:5:19: error: 'm' was not declared in this scope
for(int m=""; m<=10;m+=m)
^
Main.cc:4:6: warning: unused variable 'n' [-Wunused-variable]
{int n=<1000
^