Pagini recente » Borderou de evaluare (job #3156842) | Borderou de evaluare (job #2621828)
Borderou de evaluare (job #2621828)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:16:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("papagali.in","r",stdin);
^
main.cpp:17:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("papagali.out","w",stdout);
^
main.cpp:19:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
main.cpp:21:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]),pq.push(a[i]);
^
main.cpp:43:15: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
main.cpp:45:15: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 448ms | 5373kb | OK | 10 | 10 |
2 | 173ms | 3276kb | OK | 10 | 30 |
3 | 222ms | 4317kb | OK | 10 |
4 | 182ms | 3407kb | OK | 10 |
5 | 193ms | 3407kb | OK | 10 | 20 |
6 | 194ms | 3407kb | OK | 10 |
7 | 581ms | 5373kb | OK | 10 | 40 |
8 | 592ms | 5373kb | OK | 10 |
9 | 556ms | 5242kb | OK | 10 |
10 | 638ms | 6283kb | OK | 10 |
Punctaj total | 100 |