Pagini recente » Borderou de evaluare (job #352429) | Borderou de evaluare (job #3246903) | Borderou de evaluare (job #1920261) | Borderou de evaluare (job #2656797) | Borderou de evaluare (job #1439509)
Borderou de evaluare (job #1439509)
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 | 260kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 272kb | OK | 10 |
5 | 0ms | 280kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 8ms | 308kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 8ms | 308kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 8ms | 312kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 8ms | 332kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 300kb | Incorect | 0 |
Punctaj total | 40 |