Pagini recente » Borderou de evaluare (job #1288006) | Borderou de evaluare (job #2040221) | Borderou de evaluare (job #1931462) | Borderou de evaluare (job #3147297) | Borderou de evaluare (job #2018437)
Borderou de evaluare (job #2018437)
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:100:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &_);
^
user.cpp:103: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:106:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", words[i]);
^
user.cpp:117: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:127: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 | 1164ms | 113480kb | Incorect | 0 |
Punctaj total | 0 |