Borderou de evaluare (job #1486596)

Utilizator afkidStancioiu Nicu Razvan afkid Data 15 septembrie 2015 10:34:25
Problema Carte Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void preKmp(std::string, int*)’: user.cpp:17: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:35:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(j<s.length()) ^ user.cpp:40:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(i>=k.length()) ^ user.cpp: In function ‘int main()’: user.cpp:70:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=1;i<s.length();++i) ^ user.cpp:66:7: warning: unused variable ‘cnt’ [-Wunused-variable] int cnt=0; ^ user.cpp:67:8: warning: unused variable ‘word’ [-Wunused-variable] bool word=false; ^ user.cpp:68:7: warning: unused variable ‘j’ [-Wunused-variable] int j=vis[0]; ^ user.cpp:50: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:51: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
1132ms508kbIncorect0
Punctaj total0

Ceva nu functioneaza?