Borderou de evaluare (job #1770684)

Utilizator TudoseSanzianaTudose Sanziana TudoseSanziana Data 4 octombrie 2016 18:47:48
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:66:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<strlen(ans1); i++) ^ user.cpp:75:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<strlen(ans2); i++) ^ user.cpp:37: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:38: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:40:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:43:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&s[i]); ^ user.cpp:63:5: warning: ‘ok’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(ok==1) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbOK!10
20ms284kbOK!10
3Depăşit256kbTime limit exceeded.0
4Depăşit264kbTime limit exceeded.0
540ms772kbOK!10
6Depăşit444kbTime limit exceeded.0
7Depăşit600kbTime limit exceeded.0
8Depăşit736kbTime limit exceeded.0
9Depăşit384kbTime limit exceeded.0
10Depăşit508kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?