Borderou de evaluare (job #1795918)

Utilizator maria_sinteaMaria Sintea maria_sintea Data 2 noiembrie 2016 22:27:25
Problema Charlie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 45

Raport evaluator

Compilare: user.cpp: In function ‘void mutare(int)’: user.cpp:13:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=i+1;j<strlen(s);j++) ^ user.cpp: In function ‘int main()’: user.cpp:29:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=1;i<strlen(s)-1;i++) ^ user.cpp:61:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(i<strlen(s)-1) ^ user.cpp:20:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("charlie.in", "r", stdin); ^ user.cpp:21:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("charlie.out", "w", stdout); ^ user.cpp:23:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &p); ^ user.cpp:24:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n", s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK5
20ms276kbOK5
30ms280kbOK5
40ms340kbOK5
50ms372kbOK5
68ms276kbOK5
736ms272kbOK5
860ms268kbOK5
9Depăşit260kbTime limit exceeded.0
10Depăşit272kbTime limit exceeded.0
11Depăşit336kbTime limit exceeded.0
12Depăşit316kbTime limit exceeded.0
13Depăşit336kbTime limit exceeded.0
14Depăşit336kbTime limit exceeded.0
15Depăşit304kbTime limit exceeded.0
16Depăşit320kbTime limit exceeded.0
17Depăşit324kbTime limit exceeded.0
18Depăşit336kbTime limit exceeded.0
19Depăşit336kbTime limit exceeded.0
200ms268kbOK5
Punctaj total45

Ceva nu functioneaza?