Pagini recente » Borderou de evaluare (job #630635) | Borderou de evaluare (job #1456349) | Borderou de evaluare (job #704465) | Borderou de evaluare (job #1210816) | Borderou de evaluare (job #1480763)
Borderou de evaluare (job #1480763)
Raport evaluator
Compilare:
user.cpp: In function ‘void preKmp(std::string, int*)’:
user.cpp:16:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<x.length())
^
user.cpp: In function ‘void KMP(std::string)’:
user.cpp:34:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(j<s.length())
^
user.cpp:39:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i>=k.length())
^
user.cpp: In function ‘int main()’:
user.cpp:66:8: warning: unused variable ‘word’ [-Wunused-variable]
bool word=false;
^
user.cpp:49:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carte.in","r",stdin);
^
user.cpp:50:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carte.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 132ms | 488kb | Incorect | 0 |
Punctaj total | 0 |