Borderou de evaluare (job #2517697)
Utilizator | Data | 3 ianuarie 2020 23:01:58 | |
---|---|---|---|
Problema | Desen | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:77:25: error: expected primary-expression before '.' token
ax = cartita.x + dx [ cartita.d ] ;
^
main.cpp:77:42: error: expected primary-expression before '.' token
ax = cartita.x + dx [ cartita.d ] ;
^
main.cpp:78:25: error: expected primary-expression before '.' token
ay = cartita.y + dy [ cartita.d ] ;
^
main.cpp:78:42: error: expected primary-expression before '.' token
ay = cartita.y + dy [ cartita.d ] ;
^
main.cpp:82:47: error: expected primary-expression before '.' token
x1 = findset ( make_pair ( cartita.x , cartita.y ) ) ;
^
main.cpp:82:59: error: expected primary-expression before '.' token
x1 = findset ( make_pair ( cartita.x , cartita.y ) ) ;
^
main.cpp:92:13: error: expected primary-expression before '}' token
}
^
main.cpp:61:50: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%d%d%d%d" , & c , & n , & m , & t ) ;
^
main.cpp:65:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%d" , & x ) ;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !