Pagini recente » Borderou de evaluare (job #2843088) | Borderou de evaluare (job #534490) | Borderou de evaluare (job #2443344) | Borderou de evaluare (job #1292148) | Borderou de evaluare (job #1556572)
Borderou de evaluare (job #1556572)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("minim.in","r",stdin);
^
user.cpp:14:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("minim.out","w",stdout);
^
user.cpp:15:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:16:57: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i=1;i<=n;i++) scanf("%d",&t[i].val),t[i].pos=i;
^
user.cpp:28:20: warning: ‘lung’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (dp[i]==minn && lung>nu[i]) lung=nu[i],dr=t[i].pos;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 272kb | Incorect | 0 |
5 | 0ms | 280kb | OK | 10 |
6 | 0ms | 276kb | Incorect | 0 |
7 | 0ms | 280kb | Incorect | 0 |
8 | 0ms | 280kb | OK | 10 |
9 | 0ms | 284kb | Incorect | 0 |
10 | 4ms | 280kb | Incorect | 0 |
Punctaj total | 40 |