Borderou de evaluare (job #1880283)

Utilizator gabor.vlad13lil pump gabor.vlad13 Data 15 februarie 2017 17:33:27
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:19: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:33:20: warning: right operand of comma operator has no effect [-Wunused-value] c = 1, dr=2, i1; ^ user.cpp:35:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=2; i<strlen(sirInit); ++i) ^ user.cpp:34:9: warning: unused variable ‘s’ [-Wunused-variable] int s, d; ^ user.cpp:34:12: warning: unused variable ‘d’ [-Wunused-variable] int s, d; ^ user.cpp: In function ‘void prelucrare()’: user.cpp:62: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:72: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:73: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:74:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(tmp); ^ /tmp/cco19aRg.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ăşit428kbTime limit exceeded.0
3Depăşit412kbTime limit exceeded.0
4Depăşit1332kbTime limit exceeded.0
5Depăşit560kbTime limit exceeded.0
6Depăşit752kbTime limit exceeded.0
7Depăşit848kbTime limit exceeded.0
8Depăşit1092kbTime limit exceeded.0
9Depăşit1240kbTime limit exceeded.0
10Depăşit1328kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?