Borderou de evaluare (job #1772841)

Utilizator Eugen01Vasilescu Eugen Eugen01 Data 7 octombrie 2016 07:23:04
Problema Virus Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In member function ‘void Trie::insert(std::string, int, int)’: user.cpp:23:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (pos == s.size()) { ^ user.cpp: In function ‘void BFS(Trie*)’: user.cpp:41:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (start < Q.size()) { ^ user.cpp: In function ‘int main()’: user.cpp:89:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < text.size(); i++) { ^ user.cpp:99:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < result.size(); i++) ^ user.cpp:70:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("virus.in", "r", stdin); ^ user.cpp:71:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("virus.out", "w", stdout); ^ user.cpp:74:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &N, &M); ^ user.cpp:75:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", aux); ^ user.cpp:81:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n%s", &x, aux); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms672kbIncorect0
2148ms768kbIncorect0
3420ms1728kbOK10
4Depăşit10324kbTime limit exceeded.0
5Depăşit7316kbTime limit exceeded.0
6Depăşit10172kbTime limit exceeded.0
7Depăşit29024kbTime limit exceeded.0
8Depăşit10704kbTime limit exceeded.0
936ms3024kbIncorect0
1016ms1488kbIncorect0
Punctaj total10

Ceva nu functioneaza?