Borderou de evaluare (job #1624604)

Utilizator QQQ1911Vodita Stefan QQQ1911 Data 2 martie 2016 12:24:39
Problema Heapuri Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:3:1: error: unknown type name ‘using’ using namespace std; ^ user.c:3:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’ using namespace std; ^ user.c: In function ‘inser’: user.c:56:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&elem); ^ user.c: In function ‘sterg’: user.c:66:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&ord); ^ user.c: In function ‘main’: user.c:74:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("heapuri.in","r",stdin); ^ user.c:75:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("heapuri.out","w",stdout); ^ user.c:77:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.c:80:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&cod); ^

Ceva nu functioneaza?