Language: C++

#include <bits/stdc++.h>
using namespacestd;

int main(){
	int a, b, c, d, e ;
	int ah, bh, ch, dh, eh ;
	cin<< a, b, c, d, e ;
	
	if( a % 10 != 0){
	
	ah = ( ( a / 10 )+ 10 ) * 100 
	
	}else{
	
	ah = ( a / 10 ) * 100 
	}

	if( b % 10 != 0){
	
	bh = ( ( b / 10 )+ 10 ) * 100 
	
	}else{
	
	bh = ( b / 10 ) * 100 
	}

	if( c % 10 != 0){
	
	ch = ( ( c / 10 )+ 10 ) * 100 
	
	}else{
	
	ch = ( c / 10 ) * 100 
	}
	
	if( d % 10 != 0){
	
	dh = ( ( d / 10 )+ 10 ) * 100 
	
	}else{
	
	dh = ( d / 10 ) * 100 
	}	
	
	cout << ah + bh + ch + dh + e ;

return 0;
}


Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespacestd'
    2 | using namespacestd;
      |       ^~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |         cin<< a, b, c, d, e ;
      |         ^~~
      |         std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:11:38: error: expected ';' before '}' token
   11 |         ah = ( ( a / 10 )+ 10 ) * 100
      |                                      ^
      |                                      ;
   12 | 
   13 |         }else{
      |         ~                             
a.cc:15:30: error: expected ';' before '}' token
   15 |         ah = ( a / 10 ) * 100
      |                              ^
      |                              ;
   16 |         }
      |         ~                     
a.cc:20:38: error: expected ';' before '}' token
   20 |         bh = ( ( b / 10 )+ 10 ) * 100
      |                                      ^
      |                                      ;
   21 | 
   22 |         }else{
      |         ~                             
a.cc:24:30: error: expected ';' before '}' token
   24 |         bh = ( b / 10 ) * 100
      |                              ^
      |                              ;
   25 |         }
      |         ~                     
a.cc:29:38: error: expected ';' before '}' token
   29 |         ch = ( ( c / 10 )+ 10 ) * 100
      |                                      ^
      |                                      ;
   30 | 
   31 |         }else{
      |         ~                             
a.cc:33:30: error: expected ';' before '}' token
   33 |         ch = ( c / 10 ) * 100
      |                              ^
      |                              ;
   34 |         }
      |         ~                     
a.cc:38:38: error: expected ';' before '}' token
   38 |         dh = ( ( d / 10 )+ 10 ) * 100
      |                                      ^
      |                                      ;
   39 | 
   40 |         }else{
      |         ~                             
a.cc:42:30: error: expected ';' before '}' token
   42 |         dh = ( d / 10 ) * 100
      |                              ^
      |                              ;
   43 |         }
      |         ~                     
a.cc:45:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   45 |         cout << ah + bh + ch + dh + e ;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~