Borderou de evaluare (job #1665734)
Utilizator | Data | 27 martie 2016 12:16:03 | |
---|---|---|---|
Problema | Robotics | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:5: error: ‘__int16’ does not name a type
__int16 x, y, tip;
^
user.cpp:11:1: error: ‘__int16’ does not name a type
__int16 mat[1010][1010];
^
user.cpp:12:1: error: ‘__int16’ does not name a type
__int16 n, m, t;
^
user.cpp:14:1: error: ‘__int64’ does not name a type
__int64 vopsea;
^
user.cpp: In function ‘void citire()’:
user.cpp:18:24: error: ‘n’ was not declared in this scope
scanf("%d %d %d", &n, &m, &t);
^
user.cpp:18:28: error: ‘m’ was not declared in this scope
scanf("%d %d %d", &n, &m, &t);
^
user.cpp:18:32: error: ‘t’ was not declared in this scope
scanf("%d %d %d", &n, &m, &t);
^
user.cpp:24:38: error: ‘__gnu_cxx::__alloc_traits<std::allocator<Robot> >::value_type’ has no member named ‘x’
scanf("%d %d %d", &roboti[i].x, &roboti[i].y, &roboti[i].tip);
^
user.cpp:24:52: error: ‘__gnu_cxx::__alloc_traits<std::allocator<Robot> >::value_type’ has no member named ‘y’
scanf("%d %d %d", &roboti[i].x, &roboti[i].y, &roboti[i].tip);
^
user.cpp:24:66: error: ‘__gnu_cxx::__alloc_traits<std::allocator<Robot> >::value_type’ has no member named ‘tip’
scanf("%d %d %d", &roboti[i].x, &roboti[i].y, &roboti[i].tip);
^
user.cpp:25:19: error: ‘__gnu_cxx::__alloc_traits<std::allocator<Robot> >::value_type’ has no member named ‘x’
roboti[i].x--;
^
user.cpp:26:19: error: ‘__gnu_cxx::__alloc_traits<std::allocator<Robot> >::value_type’ has no member named ‘y’
roboti[i].y--;
^
user.cpp: In function ‘void vopsire()’:
user.cpp:35:24: error: ‘m’ was not declared in this scope
for(int i = 0; i < m; i++)
^
user.cpp:37:9: error: ‘mat’ was not declared in this scope
mat[roboti[i].x][roboti[i].y]++;
^
user.cpp:37:23: error: ‘__gnu_cxx::__alloc_traits<std::allocator<Robot> >::value_type’ has no member named ‘x’
mat[roboti[i].x][roboti[i].y]++;
^
user.cpp:37:36: error: ‘__gnu_cxx::__alloc_traits<std::allocator<Robot> >::value_type’ has no member named ‘y’
mat[roboti[i].x][roboti[i].y]++;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !