Pagini recente » Borderou de evaluare (job #1340781) | Borderou de evaluare (job #997621) | Borderou de evaluare (job #441552) | Borderou de evaluare (job #462905) | Borderou de evaluare (job #2019161)
Borderou de evaluare (job #2019161)
Raport evaluator
Compilare:
user.cpp: In function ‘void pre()’:
user.cpp:36:10: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cti[c] = c - 'a';
^
user.cpp:38:10: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cti[c] = c - 'A';
^
user.cpp: In member function ‘void trie::insert(char*, int)’:
user.cpp:63:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int nc = cti[*buf];
^
user.cpp: In member function ‘int trie::query(char*)’:
user.cpp:71:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int nc = cti[*buf];
^
user.cpp: In function ‘int main()’:
user.cpp:93:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &_);
^
user.cpp:96:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
user.cpp:99:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", words[i]);
^
user.cpp:112:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" %c%s", &tip, auxbuf);
^
user.cpp:122:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &amount);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1076ms | 113808kb | OK | 100 |
Punctaj total | 100 |