Pagini recente » Diferente pentru problema/subset intre reviziile 3 si 2 | Cod sursa (job #4902) | Cod sursa (job #973554) | Cod sursa (job #141) | Borderou de evaluare (job #2757430)
Borderou de evaluare (job #2757430)
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 | 2ms | 131kb | Ok! | 5 |
| 2 | 2ms | 131kb | Wrong answer! | 0 |
| 3 | 56ms | 4063kb | Time limit exceeded | 0 |
| 4 | 53ms | 6160kb | Time limit exceeded | 0 |
| 5 | 51ms | 8962kb | Time limit exceeded | 0 |
| 6 | 53ms | 9326kb | Time limit exceeded | 0 |
| 7 | 53ms | 9588kb | Time limit exceeded | 0 |
| 8 | 53ms | 5505kb | Time limit exceeded | 0 |
| 9 | 53ms | 8409kb | Time limit exceeded | 0 |
| 10 | 53ms | 8974kb | Time limit exceeded | 0 |
| 11 | 52ms | 8798kb | Time limit exceeded | 0 |
| 12 | 53ms | 9584kb | Time limit exceeded | 0 |
| 13 | 53ms | 10240kb | Time limit exceeded | 0 |
| 14 | 53ms | 9850kb | Time limit exceeded | 0 |
| 15 | 52ms | 12599kb | Time limit exceeded | 0 |
| 16 | 53ms | 9977kb | Time limit exceeded | 0 |
| 17 | 53ms | 11292kb | Time limit exceeded | 0 |
| 18 | 61ms | 10113kb | Time limit exceeded | 0 |
| 19 | 53ms | 9977kb | Time limit exceeded | 0 |
| 20 | 53ms | 10371kb | Time limit exceeded | 0 |
| Punctaj total | 5 |