| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 137118 | 张宇泽 | 12自由落体 | C++ | Compile Error | 0 MS | 0 KB | 156 | 2025-11-16 11:28:19 |
#include<bits/stdc++.h> using namespace std; int main(){ double s=100 fou(int i=1;i<=10;i++){ s=s/2 } printf("%。6f".s); cout<<s; return 0; }
Main.cc: In function 'int main()':
Main.cc:5:1: error: expected ',' or ';' before 'fou'
fou(int i=1;i<=10;i++){
^
Main.cc:5:13: error: 'i' was not declared in this scope
fou(int i=1;i<=10;i++){
^
Main.cc:8:17: error: request for member 's' in '"%\37777777743\37777777600\377777776026f"', which is of non-class type 'const char [7]'
printf("%。6f".s);
^