Borderou de evaluare (job #1661522)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 23 martie 2016 22:31:35
Problema Dist Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void upd(int, int, int, int&, int&)’: user.cpp:32:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i >= a[cuv].size()) cost += abs('@' , b[j]); ^ user.cpp: In function ‘int main()’: user.cpp:48:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dist.in","r",stdin); ^ user.cpp:49:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dist.out","w",stdout); ^ user.cpp:51:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); a.push_back(" "); ^ user.cpp:55:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); int pos = 0, np = 0; b = " "; ^ /tmp/ccDLBO1X.o: In function `main': user.cpp:(.text.startup+0x5a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms948kbOK!10
20ms944kbOK!10
30ms940kbOK!10
44ms948kbOK!10
54ms948kbOK!10
612ms944kbOK!10
720ms952kbOK!10
812ms948kbOK!10
98ms944kbOK!10
100ms948kbOK!10
Punctaj total100

Ceva nu functioneaza?