Borderou de evaluare (job #1772843)

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

Raport evaluator

Compilare: user.cpp: In member function ‘void Trie::insert(char*, int, int)’: user.cpp:24:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (pos == strlen(s)) { ^ user.cpp: In function ‘void BFS(Trie*)’: user.cpp:42:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (start < Q.size()) { ^ user.cpp: In function ‘int main()’: user.cpp:89:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < strlen(text); 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:69: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:70: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:73: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:74:31: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(text, 100002, stdin); ^ user.cpp:80:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &x); ^ user.cpp:81:33: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(word, 1002, stdin); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit544kbTime limit exceeded.0
2104ms476kbOK10
3Depăşit556kbTime limit exceeded.0
4Depăşit18000kbTime limit exceeded.0
5Depăşit29636kbTime limit exceeded.0
6Depăşit17816kbTime limit exceeded.0
7Depăşit35560kbTime limit exceeded.0
8Depăşit18060kbTime limit exceeded.0
9Depăşit2824kbTime limit exceeded.0
1020ms1364kbOK10
Punctaj total20

Ceva nu functioneaza?