Pagini recente » Borderou de evaluare (job #785386) | Borderou de evaluare (job #234571) | Borderou de evaluare (job #2987413) | Borderou de evaluare (job #1755530) | Borderou de evaluare (job #1763490)
Borderou de evaluare (job #1763490)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,nc,K,T,ans,temp,maxim,ap,now;
^
user.cpp:14:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bitcost.in","r",stdin);
^
user.cpp:15:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bitcost.out","w",stdout);
^
user.cpp:20:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&K,&T);
^
user.cpp:22:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 0; i < K; ++i) scanf("%d",&cost[i]);
^
user.cpp:28:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld",&a,&b);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 4ms | 276kb | OK | 10 |
✗ | 2 | 0ms | 280kb | OK | 10 |
✓ | 3 | 0ms | 276kb | OK | 10 |
✗ | 4 | 4ms | 276kb | OK | 10 |
✗ | 5 | 192ms | 284kb | OK | 10 |
✗ | 6 | 192ms | 284kb | OK | 10 |
✗ | 7 | 252ms | 276kb | OK | 10 |
✗ | 8 | 240ms | 280kb | OK | 10 |
✓ | 9 | 240ms | 280kb | OK | 10 |
✗ | 10 | 240ms | 280kb | OK | 10 |
Punctaj total | 100 |