Borderou de evaluare (job #1770720)

Utilizator TudoseSanzianaTudose Sanziana TudoseSanziana Data 4 octombrie 2016 19:18:33
Problema String Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:72:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<strlen(ans1); i++) ^ user.cpp:81:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<strlen(ans2); i++) ^ user.cpp:52:13: warning: unused variable ‘cif’ [-Wunused-variable] int n,i,cif,ok; ^ user.cpp:50:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("string.in","r",stdin); ^ user.cpp:51:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("string.out","w",stdout); ^ user.cpp:53:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:56:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&s[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbOK!10
20ms288kbOK!10
30ms288kbOK!10
480ms304kbRaspuns gresit!0
540ms768kbRaspuns gresit!0
6Depăşit452kbTime limit exceeded.0
7Depăşit592kbTime limit exceeded.0
8Depăşit740kbTime limit exceeded.0
9Depăşit380kbTime limit exceeded.0
10Depăşit504kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?