Pagini recente » Borderou de evaluare (job #1519946) | Borderou de evaluare (job #1950806) | Borderou de evaluare (job #105401) | Borderou de evaluare (job #2238396) | Borderou de evaluare (job #1222291)
Borderou de evaluare (job #1222291)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=]
scanf("%d%d",&m,&n);
^
user.cpp:11:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=]
user.cpp:14:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=]
scanf("%d",&a[i][j]);
^
user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lacusta.in","r",stdin);
^
user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lacusta.out","w",stdout);
^
user.cpp:11:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&m,&n);
^
user.cpp:14:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i][j]);
^
user.cpp:25:43: warning: ‘pozmin2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
best[i][j]=a[i][j]+a[i-1][j]+min3;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 264kb | Incorect | 0 | 0 |
2 | 0ms | 268kb | Incorect | 0 |
3 | 0ms | 268kb | Incorect | 0 |
4 | 0ms | 264kb | Incorect | 0 | 0 |
5 | 0ms | 260kb | Incorect | 0 |
6 | 0ms | 264kb | Incorect | 0 |
7 | 0ms | 268kb | Incorect | 0 | 0 |
8 | 0ms | 268kb | Incorect | 0 |
9 | 0ms | 264kb | Incorect | 0 |
10 | 0ms | 268kb | Incorect | 0 |
Punctaj total | 0 |