Search found 2 matches

by ambition
Wed Oct 09, 2002 10:54 am
Forum: Volume 102 (10200-10299)
Topic: 10226 - Hardwood Species
Replies: 121
Views: 39260

10226 use stl but get TLE

10226 use stl but get TLE who can help? maybe 30s i can accept the problem but now is 10s only... :cry: [cpp] #include <iostream> #include <string> #include <map> #include <iomanip> using namespace std; typedef map< string, int > treeType; treeType treeList; int main(){ string elem; double count; in...
by ambition
Sat Aug 24, 2002 11:06 am
Forum: Volume 103 (10300-10399)
Topic: 10309 - Turn the Lights Off
Replies: 19
Views: 9048

try not to use \n in scanf() function.

for example:

scanf("%s", name)==1 may be right. :wink:

Go to advanced search