Pagini recente » Borderou de evaluare (job #2684201) | Borderou de evaluare (job #321280) | Borderou de evaluare (job #2036064)
Borderou de evaluare (job #2036064)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:114:37: warning: format ‘%x’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%x", &gazon[i][j]);
^
user.cpp:108:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elicop.in", "r", stdin);
^
user.cpp:109:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elicop.out", "w", stdout);
^
user.cpp:111:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &m, &n);
^
user.cpp:114:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%x", &gazon[i][j]);
^
user.cpp:116:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:119:63: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d", &lin1, &col1, &lin2, &col2, &sens);
^
user.cpp:13:24: warning: array subscript is above array bounds [-Warray-bounds]
#define sens triunghi[5]
^
user.cpp:121:74: note: in expansion of macro ‘sens’
cerr << stx << " " << sty << "\n" << drx << " " << dry << " " << sens << "\n\n";
^
user.cpp:122:46: warning: array subscript is above array bounds [-Warray-bounds]
if(calc_arie(stx, sty, drx, dry, sens) == 1)
^
user.cpp:124:46: warning: array subscript is above array bounds [-Warray-bounds]
if(calc_arie(stx, sty, drx, dry, sens) == 2){
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 476kb | Like a boss ! | 10 |
2 | 8ms | 472kb | Like a boss ! | 10 |
3 | 8ms | 472kb | Like a boss ! | 10 |
4 | 8ms | 468kb | Like a boss ! | 10 |
5 | 8ms | 472kb | Like a boss ! | 10 |
6 | 20ms | 476kb | Like a boss ! | 10 |
7 | Depăşit | 476kb | Time limit exceeded. | 0 |
8 | 36ms | 476kb | Like a boss ! | 10 |
9 | 56ms | 476kb | Like a boss ! | 10 |
10 | Depăşit | 472kb | Time limit exceeded. | 0 |
Punctaj total | 80 |