Borderou de evaluare (job #1765207)

Utilizator stelian2000Stelian Chichirim stelian2000 Data 26 septembrie 2016 13:47:42
Problema Vecini Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:7:9: error: expected ‘;’ at end of member declaration int x.y; ^ user.cpp:7:10: error: expected unqualified-id before ‘.’ token int x.y; ^ user.cpp: In function ‘int main()’: user.cpp:24:30: error: ‘struct punct’ has no member named ‘y’ if((1<<i)==a) v[l-1].y=1; ^ user.cpp:28:13: error: ‘struct punct’ has no member named ‘y’ if(v[0].y==1) ^ user.cpp:35:5: error: expected primary-expression before ‘}’ token } ^ user.cpp:35:5: error: expected ‘;’ before ‘}’ token user.cpp:14:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("vecini.in","r",stdin); ^ user.cpp:15:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("vecini.out","w",stdout); ^ user.cpp:17:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^

Ceva nu functioneaza?