Borderou de evaluare (job #1281501)

Utilizator blackbearBlack Bear blackbear Data 3 decembrie 2014 11:32:12
Problema Teroristi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:44:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000002]’ [-Wformat=] scanf("%s\n",&ss); ^ user.cpp:39:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("teroristi.in","r",stdin); ^ user.cpp:40:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("teroristi.out","w",stdout); ^ user.cpp:43:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n",&n,&m); ^ user.cpp:44:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n",&ss); ^ user.cpp:51:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c %c\n",&a[i],&b[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms368kbOk!10
2Depăşit416kbTime limit exceeded.0
3Depăşit644kbTime limit exceeded.0
4Depăşit864kbTime limit exceeded.0
5Depăşit864kbTime limit exceeded.0
6Depăşit1032kbTime limit exceeded.0
7Depăşit1756kbTime limit exceeded.0
8Depăşit2636kbTime limit exceeded.0
9Depăşit3228kbTime limit exceeded.0
10Depăşit3796kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?