Pagini recente » Borderou de evaluare (job #1932464) | Borderou de evaluare (job #598240) | Borderou de evaluare (job #2854489) | Borderou de evaluare (job #849313) | Borderou de evaluare (job #1754070)
Borderou de evaluare (job #1754070)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
scanf("%d%d%lld%d",&n,&m,&c,&r);
^
user.cpp:21:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d%d%d%d",&x,&y,&z,&w,&u);
^
user.cpp:21:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:21:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:21:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:21:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=]
user.cpp:22:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for(int i=1;i<=m;i++) scanf("%d",&a[1][i]);
^
user.cpp:23:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for(int i=2;i<=n;i++) scanf("%d",&a[i][1]);
^
user.cpp:18:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("livada3.in","r",stdin);
^
user.cpp:19:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("livada3.out","w",stdout);
^
user.cpp:20:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%lld%d",&n,&m,&c,&r);
^
user.cpp:21:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d",&x,&y,&z,&w,&u);
^
user.cpp:22:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=m;i++) scanf("%d",&a[1][i]);
^
user.cpp:23:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=2;i<=n;i++) scanf("%d",&a[i][1]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1120kb | OK | 10 |
2 | 0ms | 1896kb | OK | 10 |
3 | 24ms | 7520kb | OK | 10 |
4 | 24ms | 8688kb | OK | 10 |
5 | 36ms | 11024kb | OK | 10 |
6 | 36ms | 11024kb | OK | 10 |
7 | 204ms | 59064kb | OK | 10 |
8 | 200ms | 59064kb | OK | 10 |
9 | 200ms | 59060kb | OK | 10 |
10 | 0ms | 696kb | OK | 10 |
Punctaj total | 100 |