Submission #1242195


Source Code Expand

include<iostream>
#include<string>
using namespace std;
int  main(){
  int A;
  int B;
  int C;
  int a;
  int b;
  int c;


  
  cin >>A>>B>>C>>a>>b>>c>>;
  cout<<(A/a/10+B/b/10+C/c/10)<<endl;
  

 
  return 0;
}

Submission Info

Submission Time
Task A - プロコン
User erjgah
Language C++14 (GCC 5.4.1)
Score 0
Code Size 234 Byte
Status CE

Compile Error

./Main.cpp:1:1: error: ‘include’ does not name a type
 include<iostream>
 ^
In file included from /usr/include/c++/5/bits/stl_algobase.h:62:0,
                 from /usr/include/c++/5/bits/char_traits.h:39,
                 from /usr/include/c++/5/string:40,
                 from ./Main.cpp:2:
/usr/include/c++/5/ext/type_traits.h:160:35: error: ‘__gnu_cxx::__is_null_pointer’ declared as an ‘inline’ variable
   __is_null_pointer(std::nullptr_t)
                                   ^
/usr/include/c++/5/ext/type_traits.h:160:35: error: ‘bool __gnu_cxx::__is_null_pointer’ redeclared as different kind of symbol
/usr/include/c++/5/ext/type_traits.h:155:5: note: previous declaration ‘template<class _Type> bool __gnu_cxx::__is_null_pointer(_Type)’
     __is_null_pointer(_Type)
     ^
/usr/include/c++/5/ext/type_traits.h:160:21: error: ‘nullptr_t’ is not a member of ‘std’
   __is_null_pointer(std::nullptr_t)
                     ^
In file included from /usr/include/c++/5/bits/move.h:57:0,
                 from /usr/inc...