Pagini recente » Borderou de evaluare (job #1384722) | Borderou de evaluare (job #676339) | Borderou de evaluare (job #481427) | Borderou de evaluare (job #377573) | Borderou de evaluare (job #2308562)
Borderou de evaluare (job #2308562)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:11:28: warning: variable 'poz1' set but not used [-Wunused-but-set-variable]
int n,nr,max1=0,max2=0,poz1,poz2,st=0,i,s=0,prod,s1=0,s2=0,max3=0,s3=0,rez1,rez2;
^~~~
main.cpp:11:33: warning: variable 'poz2' set but not used [-Wunused-but-set-variable]
int n,nr,max1=0,max2=0,poz1,poz2,st=0,i,s=0,prod,s1=0,s2=0,max3=0,s3=0,rez1,rez2;
^~~~
main.cpp:9:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("expresie.in","r",stdin);
^
main.cpp:10:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("expresie.out","w",stdout);
^
main.cpp:12:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:15:26: 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 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 2ms | 131kb | OK | 10 |
6 | 2ms | 131kb | OK | 10 |
7 | 2ms | 131kb | Incorect | 0 |
8 | 2ms | 131kb | Incorect | 0 |
9 | 2ms | 131kb | OK | 10 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 80 |