Pagini recente » Borderou de evaluare (job #691369) | Borderou de evaluare (job #554401) | Towerx | Borderou de evaluare (job #2227685) | Borderou de evaluare (job #1556574)
Borderou de evaluare (job #1556574)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12: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:13: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:14:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:15:42: 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]);
^
user.cpp:29:16: warning: ‘dr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for (int i=dr-lung+1;i<=dr;i++)
^
user.cpp:27:20: warning: ‘lung’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (dp[i]==minn && lung>nu[i]) lung=nu[i],dr=i;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | OK | 10 |
| 2 | 0ms | 276kb | OK | 10 |
| 3 | 0ms | 280kb | OK | 10 |
| 4 | 0ms | 272kb | OK | 10 |
| 5 | 0ms | 272kb | OK | 10 |
| 6 | 0ms | 276kb | OK | 10 |
| 7 | 0ms | 268kb | OK | 10 |
| 8 | 0ms | 272kb | OK | 10 |
| 9 | 0ms | 272kb | OK | 10 |
| 10 | 4ms | 268kb | OK | 10 |
| Punctaj total | 100 |