Pagini recente » Borderou de evaluare (job #1340820) | Borderou de evaluare (job #937495) | Borderou de evaluare (job #2778908) | Borderou de evaluare (job #2460448) | Borderou de evaluare (job #2619613)
Borderou de evaluare (job #2619613)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:15:24: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[1048576]' [-Wformat=]
scanf("%d %s", &n, &s);
^
main.cpp:23:54: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
if (one ^ (__builtin_popcount(i & mask) % 2) != vals[i]) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
main.cpp:13:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("heist.in", "r", stdin);
^
main.cpp:14:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("heist.out", "w", stdout);
^
main.cpp:15:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %s", &n, &s);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 2ms | 131kb | Bravo Bo$$ | 10 | 0 |
✓ | 2 | 2ms | 131kb | Wrong output format! | 0 |
✓ | 3 | 2ms | 131kb | Wrong output format! | 0 | 0 |
✓ | 4 | 3ms | 131kb | Wrong Answer! | 0 |
✓ | 5 | 7ms | 262kb | Wrong output format! | 0 | 0 |
✓ | 6 | 6ms | 262kb | Wrong Answer! | 0 |
✓ | 7 | 103ms | 5373kb | Time limit exceeded | 0 | 0 |
✓ | 8 | 103ms | 5373kb | Time limit exceeded | 0 |
✓ | 9 | 100ms | 5373kb | Time limit exceeded | 0 |
✓ | 10 | 100ms | 5373kb | Time limit exceeded | 0 |
Punctaj total | 0 |