Pagini recente » Borderou de evaluare (job #636758) | Borderou de evaluare (job #1657997) | Borderou de evaluare (job #67264) | Borderou de evaluare (job #73557) | Borderou de evaluare (job #1477994)
Borderou de evaluare (job #1477994)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:122:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for (int i = 0;i < m;++i) scanf("%I64d",a+i);
^
user.cpp:123:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for (int i = 0;i < m;++i) scanf("%I64d",b+i);
^
user.cpp:119:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv4.in","r",stdin);
^
user.cpp:120:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv4.out","w",stdout);
^
user.cpp:121:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&k,&m);
^
user.cpp:122:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 0;i < m;++i) scanf("%I64d",a+i);
^
user.cpp:123:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 0;i < m;++i) scanf("%I64d",b+i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 40ms | 31732kb | OK | 10 |
2 | 72ms | 32536kb | OK | 10 |
3 | 72ms | 32532kb | OK | 10 |
4 | 168ms | 39560kb | Incorect | 0 |
5 | 168ms | 39564kb | Incorect | 0 |
6 | 164ms | 39564kb | Incorect | 0 |
7 | 160ms | 39564kb | Incorect | 0 |
8 | 164ms | 39564kb | Incorect | 0 |
9 | 168ms | 39564kb | Incorect | 0 |
10 | 40ms | 31724kb | OK | 10 |
Punctaj total | 40 |