Pagini recente » Borderou de evaluare (job #1620976) | Borderou de evaluare (job #2852754) | Borderou de evaluare (job #253340) | Borderou de evaluare (job #1083271) | Borderou de evaluare (job #1322305)
Borderou de evaluare (job #1322305)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("heapuri.in","r",stdin);
^
user.cpp:28:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("heapuri.out","w",stdout);
^
user.cpp:29:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:34:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&c);
^
user.cpp:35:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if(c==1){elem e;scanf("%d",&e.v);e.poz=++nr;Q.push(e);}
^
user.cpp:36:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
else if(c==2){scanf("%d",&a);check[a]=1;}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 264kb | OK | 10 | 10 |
2 | 0ms | 260kb | OK | 10 | 10 |
3 | 0ms | 268kb | OK | 10 | 10 |
4 | 4ms | 368kb | OK | 10 | 10 |
5 | 24ms | 540kb | OK | 10 | 60 |
6 | 48ms | 796kb | OK | 10 |
7 | 100ms | 1144kb | OK | 10 |
8 | 92ms | 1168kb | OK | 10 |
9 | 104ms | 1464kb | OK | 10 |
10 | 96ms | 1468kb | OK | 10 |
Punctaj total | 100 |