Borderou de evaluare (job #1566504)

Utilizator ASTELOTudor Enescu ASTELO Data 12 ianuarie 2016 10:30:14
Problema Subsiruri2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:55:14: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[41]’ [-Wformat=] scanf("%s",&s); ^ user.cpp:51:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("subsiruri2.in","r",stdin); ^ user.cpp:52:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("subsiruri2.out","w",stdout); ^ user.cpp:53:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:54:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&c); ^ user.cpp:55:15: 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ăşit244kbTime limit exceeded.0
20ms268kbOK10
30ms272kbOK10
4Depăşit248kbTime limit exceeded.0
5Depăşit240kbTime limit exceeded.0
6Depăşit244kbTime limit exceeded.0
7Depăşit240kbTime limit exceeded.0
8Depăşit240kbTime limit exceeded.0
9Depăşit248kbTime limit exceeded.0
10Depăşit244kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?