Borderou de evaluare (job #2010578)

Utilizator Rodik_RodyRodica Vasilescu Rodik_Rody Data 13 august 2017 17:19:09
Problema Twoton Status done
Runda Arhiva ICPC Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:5:17: error: expected expression before ‘{’ token #define min(a,b){a<b?a:b} ^ user.c:23:16: note: in expansion of macro ‘min’ s[i] = min(s[i],s[i+1]); ^ user.c:13:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen(in, "r", stdin); ^ user.c:14:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen(out, "w", stdout); ^ user.c:15:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.c:17:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&s[i]); ^

Ceva nu functioneaza?