Pagini recente » Borderou de evaluare (job #819941) | Borderou de evaluare (job #942445) | Borderou de evaluare (job #819978) | Borderou de evaluare (job #254896) | Borderou de evaluare (job #2509019)
Borderou de evaluare (job #2509019)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:7:30: warning: unused variable 'j' [-Wunused-variable]
int s=0,n,k,i,p1,p2,cm,m,nr,j;
^
main.cpp:5:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("calcule.in","r",stdin);
^
main.cpp:6:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("calcule.out","w",stdout);
^
main.cpp:8:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
main.cpp:10:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 131kb | OK | 10 |
2 | 16ms | 393kb | OK | 10 |
3 | 37ms | 655kb | OK | 10 |
4 | 55ms | 819kb | OK | 10 |
5 | 46ms | 917kb | OK | 10 |
6 | 23ms | 524kb | OK | 10 |
7 | 34ms | 786kb | OK | 10 |
8 | 50ms | 1011kb | OK | 10 |
9 | 70ms | 1085kb | OK | 10 |
10 | 80ms | 1122kb | OK | 10 |
Punctaj total | 100 |