/ Vijos /

记录详情

Compile Error

/in/foo.cc:1:24: error: missing terminating > character
 #include <bits/stdc++.h
                        ^
/in/foo.cc:2:1: error: expected unqualified-id before '>' token
 >
 ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:19:2: error: 'cin' was not declared in this scope
  cin>>m;
  ^~~
/in/foo.cc:19:2: note: suggested alternative:
In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:75:0,
                 from /in/foo.cc:1:
/usr/include/c++/7/iostream:60:18: note:   'std::cin'
   extern istream cin;  /// Linked to standard input
                  ^~~
/in/foo.cc:21:12: error: 'asswa' was not declared in this scope
   if(max(m,asswa)==m){
            ^~~~~
/in/foo.cc:21:6: error: 'max' was not declared in this scope
   if(max(m,asswa)==m){
      ^~~
/in/foo.cc:21:6: note: suggested alternative:
In file included from /usr/include/c++/7/algorithm:62:0,
                 from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:65,
                 from /in/foo.cc:1:
/usr/include/c++/7/bits/stl_algo.h:3468:5: note:   'std::max'
     max(initializer_list<_Tp> __l, _Compare __comp)
     ^~~
/in/foo.cc: At global scope:
/in/foo.cc:28:1: error: expected declaration before '}' token
 }
 ^

信息

递交者
类型
递交
题目
P1816 统计数字
语言
C++
递交时间
2018-10-25 20:51:09
评测时间
2018-10-25 20:51:09
评测机
分数
0
总耗时
1224ms
峰值内存
132.805 MiB