Pagini recente » Borderou de evaluare (job #2265946) | Borderou de evaluare (job #1359002) | Borderou de evaluare (job #527071) | Borderou de evaluare (job #2850235) | Borderou de evaluare (job #1213231)
Borderou de evaluare (job #1213231)
Raport evaluator
Compilare:
user.cpp: In function ‘void Insert(std::string)’:
user.cpp:33:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0;j<S.size();++j)
^
user.cpp: In function ‘bool Delete(int, Trie*)’:
user.cpp:46:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (step==str.size())
^
user.cpp: In function ‘int Query(std::string)’:
user.cpp:68:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0;j<S.size();++j)
^
user.cpp:65:11: warning: unused variable ‘t’ [-Wunused-variable]
int j,t=0;
^
user.cpp: In function ‘int Prefix(std::string)’:
user.cpp:79:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0;j<S.size();++j)
^
user.cpp: In function ‘int main()’:
user.cpp:96:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[26]’ [-Wformat=]
scanf("%d%s",&type,&S);
^
user.cpp:120:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[26]’ [-Wformat=]
scanf("%d%s",&type,&S);
^
user.cpp:93:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trie.in","r",stdin);
^
user.cpp:94:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trie.out","w",stdout);
^
user.cpp:96:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%s",&type,&S);
^
user.cpp:120:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%s",&type,&S);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 288kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 2 | 0ms | 292kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 3 | 0ms | 288kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 4 | 0ms | 292kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 5 | 0ms | 296kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 6 | 0ms | 300kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 7 | 0ms | 292kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 8 | 0ms | 292kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 9 | 0ms | 300kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 10 | 0ms | 296kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 11 | 0ms | 292kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 12 | 0ms | 300kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 13 | 0ms | 292kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 14 | 0ms | 292kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 15 | 0ms | 308kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 16 | 0ms | 296kb | Killed by signal 11(SIGSEGV). | 0 |
| 17 | 0ms | 288kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 18 | 0ms | 300kb | Killed by signal 11(SIGSEGV). | 0 |
| 19 | 0ms | 304kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 20 | 0ms | 276kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |