Borderou de evaluare (job #2026262)
Utilizator | Data | 24 septembrie 2017 09:22:36 | |
---|---|---|---|
Problema | Yamstp | Status | done |
Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:10:10: error: ISO C++ forbids declaration of ‘Tire’ with no type [-fpermissive]
Tire(){
^
user.cpp: In member function ‘int Trie::Tire()’:
user.cpp:13:5: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘Trie* Recursion(int, std::vector<int>)’:
user.cpp:67:15: warning: unused variable ‘root2’ [-Wunused-variable]
Trie* root2 = Recursion(depth - 1, s[1]);
^
user.cpp: In function ‘int main()’:
user.cpp:92:15: warning: unused variable ‘root’ [-Wunused-variable]
Trie *root = Recursion(20, v);
^
user.cpp: In function ‘Trie* Recursion(int, std::vector<int>)’:
user.cpp:77:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:81:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:87:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:89:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !