Pagini recente » Borderou de evaluare (job #974470) | Borderou de evaluare (job #249949) | Borderou de evaluare (job #823707) | Borderou de evaluare (job #1156267) | Borderou de evaluare (job #1384529)
Borderou de evaluare (job #1384529)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:4:20: warning: unused variable ‘pr’ [-Wunused-variable]
int n,i,j,lmax,pr,maxim,cate,numar;
^
user.cpp:5:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsiruri.in","r",stdin);
^
user.cpp:6:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsiruri.out","w",stdout);
^
user.cpp:7:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:9:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:32:24: warning: ‘cate’ may be used uninitialized in this function [-Wmaybe-uninitialized]
cate+=nr[i];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 260kb | OK | 10 |
4 | 0ms | 256kb | OK | 10 |
5 | 0ms | 264kb | OK | 10 |
6 | 0ms | 264kb | OK | 10 |
7 | 0ms | 260kb | OK | 10 |
8 | 0ms | 260kb | OK | 10 |
9 | 4ms | 264kb | OK | 10 |
10 | 0ms | 256kb | OK | 10 |
Punctaj total | 100 |