Borderou de evaluare (job #1243763)

Utilizator ctlin04UAIC.VlasCatalin ctlin04 Data 16 octombrie 2014 13:12:32
Problema Zmeu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:52: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] for (j=1; j<=n; ++j) scanf("%d",&pericol[i][j]); ^ user.cpp:16:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] for (j=1; j<=n; ++j) scanf("%d",&cost[i][j]); ^ user.cpp:48:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",sol[indp][n][p]); ^ user.cpp:8:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zmeu.in","r",stdin); ^ user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zmeu.out","w",stdout); ^ user.cpp:11:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&p); ^ user.cpp:13:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (j=1; j<=n; ++j) scanf("%d",&pericol[i][j]); ^ user.cpp:16:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (j=1; j<=n; ++j) scanf("%d",&cost[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit1208kbTime limit exceeded.0
20ms332kbOK10
30ms520kbOK10
444ms948kbOK10
5Depăşit1108kbTime limit exceeded.0
6Depăşit1196kbTime limit exceeded.0
7Depăşit1204kbTime limit exceeded.0
8Depăşit1204kbTime limit exceeded.0
9Depăşit1200kbTime limit exceeded.0
10Depăşit1208kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?