Pagini recente » Borderou de evaluare (job #2358183) | Borderou de evaluare (job #1887039) | Borderou de evaluare (job #2725667) | Borderou de evaluare (job #96834) | Borderou de evaluare (job #1388226)
Borderou de evaluare (job #1388226)
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 | 444kb | OK | 10 |
2 | 0ms | 440kb | OK | 10 |
3 | 4ms | 460kb | OK | 10 |
4 | 24ms | 588kb | OK | 10 |
5 | 48ms | 664kb | OK | 10 |
6 | 20ms | 544kb | OK | 10 |
7 | 72ms | 816kb | OK | 10 |
8 | 32ms | 584kb | OK | 10 |
9 | 128ms | 1052kb | OK | 10 |
10 | 136ms | 1176kb | OK | 10 |
Punctaj total | 100 |