Pagini recente » Borderou de evaluare (job #2010567) | Cod sursa (job #1047835) | Borderou de evaluare (job #1660475)
Borderou de evaluare (job #1660475)
Raport evaluator
Compilare:
user.cpp: In function ‘void Solve()’:
user.cpp:38:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(a[ x + dx[j] ][ y + dy[j] ])
^
user.cpp:38:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(a[ x + dx[j] ][ y + dy[j] ])
^
user.cpp:42:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ry = Find(a[ x + dx[j] ][ y + dy[j] ]);
^
user.cpp:42:51: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ry = Find(a[ x + dx[j] ][ y + dy[j] ]);
^
user.cpp: In function ‘void Optimize()’:
user.cpp:55:33: warning: left operand of comma operator has no effect [-Wunused-value]
for(short int i=N, ok = 1; i>=1, ok; --i)
^
user.cpp: In function ‘void Read()’:
user.cpp:97:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d", &N, &K);
^
user.cpp:97:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp: In function ‘void Solve()’:
user.cpp:34:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd", &x, &y);
^
user.cpp: In function ‘void Read()’:
user.cpp:95:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("banana.in", "rt", stdin);
^
user.cpp:96:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("banana.out", "wt", stdout);
^
user.cpp:97:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &K);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 10812kb | Time limit exceeded. | 0 |
2 | Depăşit | 10808kb | Time limit exceeded. | 0 |
3 | Depăşit | 10812kb | Time limit exceeded. | 0 |
4 | Depăşit | 10816kb | Time limit exceeded. | 0 |
5 | Depăşit | 10808kb | Time limit exceeded. | 0 |
6 | Depăşit | 10796kb | Time limit exceeded. | 0 |
7 | Depăşit | 10808kb | Time limit exceeded. | 0 |
8 | Depăşit | 10812kb | Time limit exceeded. | 0 |
9 | Depăşit | 10764kb | Time limit exceeded. | 0 |
10 | Depăşit | 10820kb | Time limit exceeded. | 0 |
Punctaj total | 0 |