Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
5164 刘轩宁 12自由落体 C++ Compile Error 0 MS 0 KB 157 2024-11-02 20:59:24

Tests(0/0):


Code:

#include <iostream> using namespace std; int main(){ int i,; double n=100 cin>>n>>m; for(i=n;i<=10;i++){ n=n/2; } cout<<n; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:4:8: error: expected unqualified-id before ';' token
  int i,;
        ^
Main.cc:6:2: error: expected ',' or ';' before 'cin'
  cin>>n>>m; 
  ^