Pagini recente » Cod sursa (job #404059) | Cod sursa (job #2832360) | Cod sursa (job #773231) | Cod sursa (job #2559935) | Borderou de evaluare (job #2757432)
Borderou de evaluare (job #2757432)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:62:43: warning: array subscript has type 'char' [-Wchar-subscripts]
int x = Q.front().first + a[dir[z]];
^
main.cpp:63:44: warning: array subscript has type 'char' [-Wchar-subscripts]
int y = Q.front().second + b[dir[z]];
^
main.cpp:65:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(z == dir.size() - 1)
~~^~~~~~~~~~~~~~~~~
main.cpp:71:30: warning: array subscript has type 'char' [-Wchar-subscripts]
x += a[dir[z]],y += b[dir[z]];
^
main.cpp:71:45: warning: array subscript has type 'char' [-Wchar-subscripts]
x += a[dir[z]],y += b[dir[z]];
^
main.cpp:82:26: warning: array subscript has type 'char' [-Wchar-subscripts]
x += a[dir[z]],y += b[dir[z]];
^
main.cpp:82:41: warning: array subscript has type 'char' [-Wchar-subscripts]
x += a[dir[z]],y += b[dir[z]];
^
main.cpp: In function 'int main()':
main.cpp:2:44: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
#define FILES freopen("cobai.in","r",stdin);\
^
main.cpp:100:5: note: in expansion of macro 'FILES'
FILES
^~~~~
main.cpp:3:46: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cobai.out","w",stdout);
^
main.cpp:100:5: note: in expansion of macro 'FILES'
FILES
^~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 131kb | Ok! | 5 |
| 2 | 2ms | 131kb | Wrong answer! | 0 |
| 3 | 53ms | 4063kb | Time limit exceeded | 0 |
| 4 | 53ms | 7737kb | Time limit exceeded | 0 |
| 5 | 52ms | 11030kb | Time limit exceeded | 0 |
| 6 | 53ms | 9064kb | Time limit exceeded | 0 |
| 7 | 53ms | 8671kb | Time limit exceeded | 0 |
| 8 | 53ms | 5767kb | Time limit exceeded | 0 |
| 9 | 53ms | 9981kb | Time limit exceeded | 0 |
| 10 | 53ms | 8802kb | Time limit exceeded | 0 |
| 11 | 53ms | 8929kb | Time limit exceeded | 0 |
| 12 | 53ms | 9322kb | Time limit exceeded | 0 |
| 13 | 53ms | 9584kb | Time limit exceeded | 0 |
| 14 | 53ms | 9326kb | Time limit exceeded | 0 |
| 15 | 53ms | 9846kb | Time limit exceeded | 0 |
| 16 | 53ms | 9584kb | Time limit exceeded | 0 |
| 17 | 53ms | 8540kb | Time limit exceeded | 0 |
| 18 | 53ms | 9195kb | Time limit exceeded | 0 |
| 19 | 52ms | 11943kb | Time limit exceeded | 0 |
| 20 | 50ms | 8798kb | Time limit exceeded | 0 |
| Punctaj total | 5 |