Submission #148387

#TimeUsernameProblemLanguageResultExecution timeMemory
148387Welcome to osu! (#200)HicCup (FXCUP4_hiccup)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc+++.h> #include "hiccup.h" using namespace std; int HicCup(std::string S) { int cnt = 0; for(int i=0; i<S.size(); i++){ if(S[i]=='H') cnt++; else cnt--; if(cnt<0){ cout << -1; return 0; } } if(cnt!=0) cout << -1; else cout << 0; }

Compilation message (stderr)

hiccup.cpp:1:10: fatal error: bits/stdc+++.h: No such file or directory
 #include <bits/stdc+++.h>
          ^~~~~~~~~~~~~~~~
compilation terminated.