Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
68391 万诗烨 13求7个数的最大值 C++ Compile Error 0 MS 0 KB 210 2024-03-23 11:36:59

Tests(0/0):


Code:

#inclube<bits/stdc++.h> using namespace std; int main(){ int mx = -2100000000 int tz; for(int i = 1;i <= 7; i++){ cin >> tz; if(tz<mx){ mx=tz } } } return 0


Run Info:

Main.cc:1:2: error: invalid preprocessing directive #inclube
 #inclube
  ^
Main.cc: In function 'int main()':
Main.cc:6:5: error: expected ',' or ';' before 'int'
     int tz;
     ^
Main.cc:8:6: error: 'cin' was not declared in this scope
      cin >> tz;
      ^
Main.cc:8:13: error: 'tz' was not declared in this scope
      cin >> tz;
             ^
Main.cc: At global scope:
Main.cc:14:1: error: expected unqualified-id before 'return'
 return 0
 ^