Borderou de evaluare (job #1941367)

Utilizator mariakKapros Maria mariak Data 27 martie 2017 11:03:06
Problema Sabin Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void insert(Trie*, std::string&, int)’: user.cpp:27:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(pos == word.size()) ^ user.cpp: In function ‘int main()’: user.cpp:58:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d %d\n", &N, &K, &M, &P, &Q); ^ user.cpp:62:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s ", str); ^ user.cpp:70:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s ", str); ^ user.cpp:77:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] int x, index; scanf("%d", &x); ^ user.cpp:79:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &index); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
116ms4692kbOK10
28ms1428kbOK10
312ms2652kbOK10
4140ms29420kbOK10
5300ms57292kbOK10
6596ms118440kbOK10
7928ms199152kbOK10
81028ms176648kbOK10
91084ms185328kbOK10
101088ms185340kbOK10
Punctaj total100

Ceva nu functioneaza?