Pagini recente » Borderou de evaluare (job #1588708) | Borderou de evaluare (job #2263800) | Borderou de evaluare (job #854199) | Borderou de evaluare (job #2877815) | Borderou de evaluare (job #2238650)
Borderou de evaluare (job #2238650)
Raport evaluator
Compilare:
user.cpp: In function ‘char get(int, char)’:
user.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); }
^
user.cpp: In function ‘void set(int, char, char)’:
user.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)); }
^
user.cpp: In function ‘void solve()’:
user.cpp:41:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (G[n][A[i]] == 3)
^
user.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]]));
^
user.cpp:7:20: note: in definition of macro ‘COLOR’
#define COLOR(x) ((x) == 1 ? 'a' : 'n')
^
user.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]]));
^
user.cpp:7:20: note: in definition of macro ‘COLOR’
#define COLOR(x) ((x) == 1 ? 'a' : 'n')
^
user.cpp: In function ‘int main()’:
user.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);
^
user.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 | 4ms | 876kb | OK | 10 |
2 | 8ms | 860kb | OK | 10 |
3 | 4ms | 800kb | OK | 10 |
4 | 4ms | 876kb | OK | 10 |
5 | 4ms | 868kb | OK | 10 |
6 | 88ms | 3012kb | OK | 10 |
7 | 116ms | 3632kb | OK | 10 |
8 | 468ms | 3008kb | OK | 10 |
9 | 1136ms | 31808kb | OK | 10 |
10 | 1260ms | 24096kb | OK | 10 |
Punctaj total | 100 |