Borderou de evaluare (job #1880290)

Utilizator gabor.vlad13lil pump gabor.vlad13 Data 15 februarie 2017 17:41:30
Problema PScPld Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void print()’: user.cpp:18:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=1; i<strlen(sirInit); i++) ^ user.cpp: In function ‘void solve()’: user.cpp:30:20: warning: right operand of comma operator has no effect [-Wunused-value] c = 1, dr=2, i1; ^ user.cpp:32:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=2; i<strlen(sirInit); ++i) ^ user.cpp:31:9: warning: unused variable ‘s’ [-Wunused-variable] int s, d; ^ user.cpp:31:12: warning: unused variable ‘d’ [-Wunused-variable] int s, d; ^ user.cpp: In function ‘void prelucrare()’: user.cpp:59:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0; i<strlen(tmp); ++i) ^ user.cpp: In function ‘int main()’: user.cpp:69:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pscpld.in", "r", stdin); ^ user.cpp:70:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pscpld.out", "w", stdout); ^ user.cpp:71:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(tmp); ^ /tmp/ccicS3y2.o: In function `main': user.cpp:(.text.startup+0x53): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit456kbTime limit exceeded.0
2Depăşit416kbTime limit exceeded.0
3Depăşit416kbTime limit exceeded.0
4Depăşit1328kbTime limit exceeded.0
5Depăşit560kbTime limit exceeded.0
6Depăşit752kbTime limit exceeded.0
7Depăşit844kbTime limit exceeded.0
8Depăşit1092kbTime limit exceeded.0
9Depăşit1236kbTime limit exceeded.0
10Depăşit1332kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?