Pagini recente » Borderou de evaluare (job #601243) | Borderou de evaluare (job #3135957) | Borderou de evaluare (job #572949) | Borderou de evaluare (job #3198504) | Borderou de evaluare (job #1439511)
Borderou de evaluare (job #1439511)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cocochanel.in","r",stdin);
^
user.cpp:18:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cocochanel.out","w",stdout);
^
user.cpp:19:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:20:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=n;i++) scanf("%d", &a[i]);
^
user.cpp:21:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=m;i++) scanf("%d", &b[i]);
^
user.cpp:29:19: warning: ‘sol’ may be used uninitialized in this function [-Wmaybe-uninitialized]
st=poz+1; if (st>m) break;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 0ms | 268kb | OK | 10 |
5 | 148ms | 1040kb | OK | 10 |
6 | 204ms | 1036kb | OK | 10 |
7 | 268ms | 1044kb | OK | 10 |
8 | 316ms | 1040kb | OK | 10 |
9 | 348ms | 1040kb | OK | 10 |
10 | 432ms | 1036kb | OK | 10 |
Punctaj total | 100 |