#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main( ) {
vector< float > bie;
int i= 0 ,b,bie.size ( ) ;
float a;
while ( a! = 0 )
{
cin >> a;
bie.push_back ( a) ;
}
c= bie.size ( ) - 3
sort( bie.begin ( ) , bie.end ( ) ) ;
for ( b = bie.size ( ) ; b= c; b-- )
{
std:: cout << bie[ b ] << std:: endl ;
}
return 0 ;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dmVjdG9yPgojaW5jbHVkZSA8YWxnb3JpdGhtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7Cgl2ZWN0b3I8ZmxvYXQ+YmllOwoJaW50IGk9MCxiLGJpZS5zaXplKCk7CglmbG9hdCBhOwoJd2hpbGUoYSE9MCkKCXsKCQljaW4+PmE7CgkJYmllLnB1c2hfYmFjayhhKTsKCX0KCWM9YmllLnNpemUoKS0zCgkgc29ydCggYmllLmJlZ2luKCksIGJpZS5lbmQoKSApOwogICAgZm9yKGIgPSBiaWUuc2l6ZSgpO2I9YzsgYi0tICkKICAgIHsKICAgICAgICBzdGQ6OmNvdXQgPDwgYmllWyBiIF0gPDwgc3RkOjplbmRsOwogICAgfQoJcmV0dXJuIDA7Cn0=
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:8:15: error: expected initializer before ‘.’ token
int i=0,b,bie.size();
^
prog.cpp:15:2: error: ‘c’ was not declared in this scope
c=bie.size()-3
^
stdout