Borderou de evaluare (job #1764957)

Utilizator antanaAntonia Boca antana Data 26 septembrie 2016 09:50:18
Problema Secventa 5 Status done
Runda cerculdeinfo-lectia1-hashuri.rabinkarp Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘long long int secv(int)’: user.cpp:84:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=1;i<=n;++i) ^ user.cpp: In function ‘char getChar(FILE*)’: user.cpp:14:58: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] if(pos == BUF_SIZE) pos=0, fread(buf, 1, BUF_SIZE, f); ^ user.cpp: In function ‘unsigned int getInt(FILE*)’: user.cpp:22:21: warning: ‘c’ is used uninitialized in this function [-Wuninitialized] while(!isdigit(c)) c=getChar(f); ^ user.cpp: In function ‘int main()’: user.cpp:22:21: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized] user.cpp:20:10: note: ‘c’ was declared here char c; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
120ms16632kbOK10
224ms16716kbOK10
332ms16928kbOK10
452ms17912kbOK10
548ms18164kbOK10
6156ms20008kbOK10
7356ms21700kbOK10
8428ms21960kbOK10
9668ms26628kbOK10
101604ms31228kbOK10
Punctaj total100

Ceva nu functioneaza?