Borderou de evaluare (job #1865663)

Utilizator maria_sinteaMaria Sintea maria_sintea Data 1 februarie 2017 22:14:04
Problema Charlie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 45

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:33:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=1;i<strlen(s)-1;i++) ^ user.cpp:53:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=2;i<=strlen(s)-1;i++) ^ user.cpp:24: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:25: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:27:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &p); ^ user.cpp:28: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
10ms288kbOK5
20ms292kbOK5
30ms296kbOK5
40ms352kbOK5
50ms384kbOK5
60ms412kbOK5
70ms500kbOK5
80ms668kbOK5
952msDepăşitMemory limit exceeded.0
10Depăşit304kbTime limit exceeded.0
11Depăşit368kbTime limit exceeded.0
12Depăşit336kbTime limit exceeded.0
13Depăşit356kbTime limit exceeded.0
14Depăşit368kbTime limit exceeded.0
15Depăşit332kbTime limit exceeded.0
16Depăşit352kbTime limit exceeded.0
17Depăşit352kbTime limit exceeded.0
18Depăşit364kbTime limit exceeded.0
19Depăşit368kbTime limit exceeded.0
200ms288kbOK5
Punctaj total45

Ceva nu functioneaza?