Yeah, it's event.key.code for the actual key, not event.type.
Also, I'm not understanding your timing code. It looks like it's doing something wrongly.
It seems to be adding the accumulated clock's currently elapsed time (up to 100 seconds) each time, so at 99 seconds, it'll be adding 99 seconds onto the previously elapsed time, rather than the elapsed time being at 99 seconds.
Not sure what the 100 seconds thing is for but it looks like you should be doing something more like:
if(timeElapsed.asSeconds() >= 100){
timeElapsed = sf::Time::Zero;
}
// ...
timeElapsed += clock.restart();
or
if(timeElapsed.asSeconds() >= 100){
timeElapsed = clock.restart();
}
// ...
timeElapsed = clock.getElapsedTime();