运行 ID 作者 题号 测评结果 分数 时间 内存 语言 代码长度 提交时间
415224 allison 1046 - 守护长方形 编译错误 0 0 MS 0 KB C++ 569 1年前
暂时无法获取本题测试点详情。

Main.cc: In function ‘int main()’:
Main.cc:6:5: error: ‘longlong’ was not declared in this scope
6 | longlong int suma = 0, sumb = 0, sum = 0;
| ^~~~~~~~
Main.cc:7:14: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
7 | scanf("%ld %ld", &n, &m);
| ~~^ ~~
| | |
| | long long int*
| long int*
| %lld
Main.cc:7:18: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
7 | scanf("%ld %ld", &n, &m);
| ~~^ ~~
| | |
| | long long int*
| long int*
| %lld
Main.cc:9:9: error: ‘suma’ was not declared in this scope
9 | suma = suma + i;
| ^~~~
Main.cc:12:9: error: ‘sumb’ was not declared in this scope
12 | sumb = sumb + i;
| ^~~~
Main.cc:14:5: error: ‘sum’ was not declared in this scope
14 | sum = suma * sumb;
| ^~~
Main.cc:14:11: error: ‘suma’ was not declared in this scope
14 | sum = suma * sumb;
| ^~~~
Main.cc:14:18: error: ‘sumb’ was not declared in this scope
14 | sum = suma * sumb;
| ^~~~