Pagini recente » Borderou de evaluare (job #2511347) | Borderou de evaluare (job #1861571) | Borderou de evaluare (job #2687342) | Borderou de evaluare (job #3133323) | Borderou de evaluare (job #1388188)
Borderou de evaluare (job #1388188)
Raport evaluator
Compilare:
user.cpp: In function ‘void verif(int, int, int)’:
user.cpp:21:28: warning: suggest parentheses around comparison in operand of ‘^’ [-Wparentheses]
if ((a & 1) ^ (b & 1) != (k & 1)) SOL = false;
^
user.cpp: In function ‘void vecini(int)’:
user.cpp:28:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < H[k].size(); ++i)
^
user.cpp:32:38: warning: suggest parentheses around comparison in operand of ‘^’ [-Wparentheses]
if ((sol[k] >> bit & 1) ^ 1 == (c_k & 1))
^
user.cpp: In function ‘int main()’:
user.cpp:66:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < H[i].size(); ++j)
^
user.cpp:68:55: warning: suggest parentheses around comparison in operand of ‘^’ [-Wparentheses]
if ((sol[H[i][j].first] >> bit & 1) ^ 1 == (c_k & 1)) sol[i] += (1 << bit);
^
user.cpp:44:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bazaconii.in","r",stdin);
^
user.cpp:45:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bazaconii.out","w",stdout);
^
user.cpp:47:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d", &T); T ; --T)
^
user.cpp:52:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d %d", &N, &M) , i = 1; i <= M; ++i)
^
user.cpp:54:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &a, &b, &k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | Incorect | 0 |
2 | 0ms | 440kb | Incorect | 0 |
3 | 4ms | 448kb | Incorect | 0 |
4 | 24ms | 572kb | Incorect | 0 |
5 | 44ms | 652kb | Incorect | 0 |
6 | 12ms | 528kb | Incorect | 0 |
7 | 64ms | 804kb | Incorect | 0 |
8 | 16ms | 568kb | Incorect | 0 |
9 | 116ms | 1052kb | Incorect | 0 |
10 | 128ms | 1156kb | Incorect | 0 |
Punctaj total | 0 |