Borderou de evaluare (job #2491303)
Raport evaluator
Compilare:
main.cpp: In function 'bool factor()':
main.cpp:52:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
val = sir[p] = '0';
~~~~~~~^~~~~
main.cpp: In function 'int main()':
main.cpp:62:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("bool.in", "r", stdin);
^
main.cpp:63:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("bool.out", "w", stdout);
^
main.cpp:113:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d ", &q);
^
main.cpp:115:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%c", &ch);
^
main.cpp: In function 'bool factor()':
main.cpp:42:10: warning: 'semn' may be used uninitialized in this function [-Wmaybe-uninitialized]
semn %= 2;
~~~~~^~~~
main.cpp: In function 'int main()':
main.cpp:101:23: warning: 'cuv' may be used uninitialized in this function [-Wmaybe-uninitialized]
i += cuv;
~~^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | Incorect | 0 |
4 | 2ms | 131kb | Incorect | 0 |
5 | 2ms | 131kb | Incorect | 0 |
6 | 3ms | 131kb | Incorect | 0 |
7 | 2ms | 131kb | Incorect | 0 |
8 | 2ms | 131kb | Incorect | 0 |
9 | 2ms | 131kb | Incorect | 0 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 10 |