Pagini recente » Borderou de evaluare (job #1397531) | Borderou de evaluare (job #556643) | Borderou de evaluare (job #716467) | Borderou de evaluare (job #2829739) | Borderou de evaluare (job #2578098)
Borderou de evaluare (job #2578098)
Raport evaluator
Compilare:
main.cpp: In function 'char get(int, char)':
main.cpp:14:47: warning: array subscript has type 'char' [-Wchar-subscripts]
inline char get(int x, char y) { return G[x][y]; } //(G[x] & (3<<(2*y))) >> (2*y); }
^
main.cpp: In function 'void set(int, char, char)':
main.cpp:15:48: warning: array subscript has type 'char' [-Wchar-subscripts]
inline void set(int x, char y, char z) { G[x][y] = z; } //G[x] |= (z<<(2*y)); }
^
main.cpp: In function 'void solve()':
main.cpp:41:22: warning: array subscript has type 'char' [-Wchar-subscripts]
if (G[n][A[i]] == 3)
^
main.cpp:46:47: warning: array subscript has type 'char' [-Wchar-subscripts]
else putchar(color ? COLOR(3-G[n][A[i]]) : COLOR(G[n][A[i]]));
^
main.cpp:7:20: note: in definition of macro 'COLOR'
#define COLOR(x) ((x) == 1 ? 'a' : 'n')
^
main.cpp:46:67: warning: array subscript has type 'char' [-Wchar-subscripts]
else putchar(color ? COLOR(3-G[n][A[i]]) : COLOR(G[n][A[i]]));
^
main.cpp:7:20: note: in definition of macro 'COLOR'
#define COLOR(x) ((x) == 1 ? 'a' : 'n')
^
main.cpp: In function 'int main()':
main.cpp:54:29: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(FIN, "r", stdin);
^
main.cpp:55:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(FOUT, "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 11ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 2ms | 131kb | OK | 10 |
6 | 82ms | 3522kb | OK | 10 |
7 | 118ms | 4308kb | OK | 10 |
8 | 427ms | 3522kb | OK | 10 |
9 | 876ms | 36880kb | Memory limit exceeded | 0 |
10 | 1148ms | 34070kb | OK | 10 |
Punctaj total | 90 |