Borderou de evaluare (job #1311466)

Utilizator ConstantinPetroviciPetrovici Constantin ConstantinPetrovici Data 8 ianuarie 2015 11:34:54
Problema Log Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:17:5: error: expected ‘;’ before ‘int’ int t1 , t2 , t3 , n ; ^ user.cpp:18:20: error: ‘n’ was not declared in this scope scanf ("%d" , &n ) ; ^ user.cpp:19:24: error: ‘t1’ was not declared in this scope scanf ("%d%d%d" , &t1 , &t2 , &t3 ) ; ^ user.cpp:19:30: error: ‘t2’ was not declared in this scope scanf ("%d%d%d" , &t1 , &t2 , &t3 ) ; ^ user.cpp:19:36: error: ‘t3’ was not declared in this scope scanf ("%d%d%d" , &t1 , &t2 , &t3 ) ; ^ user.cpp:15:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("log.in" , "r" , stdin ) ; ^ user.cpp:17:26: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] int t1 , t2 , t3 , n ; ^ user.cpp:21:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d" , &v [ i ].a , &v [ i ].b ) ; ^

Ceva nu functioneaza?