Borderou de evaluare (job #1829126)

Utilizator julianvladucuVladucu Iuliu Cristian julianvladucu Data 14 decembrie 2016 13:57:19
Problema PScPld Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000000]’ [-Wformat=] scanf("%s",&s); ^ user.cpp:15:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<strlen(s);i++) ^ user.cpp:16:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=i+1;j<strlen(s);j++) ^ user.cpp:10:35: 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:11:37: 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:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit256kbTime limit exceeded.0
2Depăşit260kbTime limit exceeded.0
3Depăşit276kbTime limit exceeded.0
4Depăşit1208kbTime limit exceeded.0
5Depăşit436kbTime limit exceeded.0
6Depăşit636kbTime limit exceeded.0
7Depăşit732kbTime limit exceeded.0
8Depăşit968kbTime limit exceeded.0
9Depăşit1120kbTime limit exceeded.0
10Depăşit1212kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?