Pagini recente » Caluti | Istoria paginii utilizator/3milac651gm0 | Ciclu hamiltonian de cost minim | reluare_kidsim2 | Borderou de evaluare (job #1243763)
Borderou de evaluare (job #1243763)
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 |
1 | Depăşit | 1208kb | Time limit exceeded. | 0 |
2 | 0ms | 332kb | OK | 10 |
3 | 0ms | 520kb | OK | 10 |
4 | 44ms | 948kb | OK | 10 |
5 | Depăşit | 1108kb | Time limit exceeded. | 0 |
6 | Depăşit | 1196kb | Time limit exceeded. | 0 |
7 | Depăşit | 1204kb | Time limit exceeded. | 0 |
8 | Depăşit | 1204kb | Time limit exceeded. | 0 |
9 | Depăşit | 1200kb | Time limit exceeded. | 0 |
10 | Depăşit | 1208kb | Time limit exceeded. | 0 |
Punctaj total | 30 |