Pagini recente » Borderou de evaluare (job #1027549) | Borderou de evaluare (job #966473) | Borderou de evaluare (job #2797836) | Borderou de evaluare (job #2800621) | Borderou de evaluare (job #1486645)
Borderou de evaluare (job #1486645)
Raport evaluator
Compilare:
user.cpp: In function ‘void preKmp(std::string, int*)’:
user.cpp:18:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<x.length())
^
user.cpp: In function ‘void KMP(std::string, int)’:
user.cpp:36:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(j<s.length())
^
user.cpp:41:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i>=k.length())
^
user.cpp: In function ‘int main()’:
user.cpp:51: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:52: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 | 500kb | Incorect | 0 |
Punctaj total | 0 |