Borderou de evaluare (job #1243753)
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:51:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",sol[n][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 | 52ms | Depăşit | Memory limit exceeded. | 0 |
2 | 0ms | 396kb | OK | 10 |
3 | 4ms | Depăşit | Memory limit exceeded. | 0 |
4 | 48ms | Depăşit | Memory limit exceeded. | 0 |
5 | 52ms | Depăşit | Memory limit exceeded. | 0 |
6 | 52ms | Depăşit | Memory limit exceeded. | 0 |
7 | 52ms | Depăşit | Memory limit exceeded. | 0 |
8 | 52ms | Depăşit | Memory limit exceeded. | 0 |
9 | 52ms | Depăşit | Memory limit exceeded. | 0 |
10 | 52ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 10 |