Pagini recente » Borderou de evaluare (job #3237945) | Borderou de evaluare (job #311573) | Borderou de evaluare (job #2094896) | Borderou de evaluare (job #400546) | Borderou de evaluare (job #1671573)
Borderou de evaluare (job #1671573)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d%d", &n, &m, &l);
^
user.cpp:12:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &a[i]);
^
user.cpp:15:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &b[i]);
^
user.cpp:29:158: warning: ‘rez’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if((i>=l-1)&&(j>=l-1)&&((ans>a[dq[st]]+b[dq[st]+k])||((ans==a[dq[st]]+b[dq[st]+k])&&(sol>i-l+2))||((ans==a[dq[st]]+b[dq[st]+k])&&(sol==i-l+2)&&(rez>j-l+2)))){
^
user.cpp:29:99: warning: ‘sol’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if((i>=l-1)&&(j>=l-1)&&((ans>a[dq[st]]+b[dq[st]+k])||((ans==a[dq[st]]+b[dq[st]+k])&&(sol>i-l+2))||((ans==a[dq[st]]+b[dq[st]+k])&&(sol==i-l+2)&&(rez>j-l+2)))){
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 284kb | OK | 10 | 10 |
2 | 0ms | 292kb | OK | 10 | 10 |
3 | 0ms | 300kb | OK | 10 | 10 |
4 | 24ms | 288kb | OK | 10 | 10 |
5 | 80ms | 292kb | OK | 10 | 20 |
6 | 56ms | 288kb | OK | 10 |
7 | 96ms | 288kb | OK | 10 | 10 |
8 | 100ms | 292kb | OK | 10 | 10 |
9 | 96ms | 292kb | OK | 10 | 10 |
10 | 96ms | 292kb | OK | 10 | 10 |
Punctaj total | 100 |