Pagini recente » Borderou de evaluare (job #1713219) | Borderou de evaluare (job #2416316) | Cod sursa (job #8307) | Borderou de evaluare (job #1159123) | Borderou de evaluare (job #2507022)
Borderou de evaluare (job #2507022)
Raport evaluator
Compilare:
main.cpp: In function 'void SolveE2(std::__cxx11::string)':
main.cpp:95:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (isdigit(s[it]) && it < s.size())
~~~^~~~~~~~~~
main.cpp:115:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (!isdigit(s[it]) && it < s.size())
~~~^~~~~~~~~~
main.cpp: In function 'void _cfun()':
main.cpp:12:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ec.in", "r", stdin);
^
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("ec.out", "w", stdout);
^
main.cpp: In function 'int main()':
main.cpp:82:22: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]
return (c - b) / a;//*/
^
main.cpp:56:9: note: 'a' was declared here
int a, b, c, it = 0;
^
main.cpp:82:15: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
return (c - b) / a;//*/
~~~^~~~
main.cpp:56:12: note: 'b' was declared here
int a, b, c, it = 0;
^
main.cpp:82:15: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
return (c - b) / a;//*/
~~~^~~~
main.cpp:56:15: note: 'c' was declared here
int a, b, c, it = 0;
^
main.cpp:124:30: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]
double delta = b * b - 4 * a * c;
~~^~~
main.cpp:91:9: note: 'a' was declared here
int a, b, c, d, it = 0;
^
main.cpp:124:22: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
double delta = b * b - 4 * a * c;
~~^~~
main.cpp:91:12: note: 'b' was declared here
int a, b, c, d, it = 0;
^
main.cpp:123:7: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized]
c -= d;
~~^~~~
main.cpp:91:18: note: 'd' was declared here
int a, b, c, d, it = 0;
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 11ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | Gresit! | 7 |
| 3 | 3ms | 131kb | Gresit! | 3 |
| 4 | 3ms | 131kb | Gresit! | 3 |
| 5 | 28ms | 614kb | Gresit! | 3 |
| 6 | 3ms | 131kb | Killed by Signal 8 | 0 |
| 7 | 62ms | 1302kb | Gresit! | 3 |
| 8 | 98ms | 1302kb | Gresit! | 3 |
| 9 | 6ms | 262kb | Gresit! | 3 |
| 10 | 9ms | 262kb | Gresit! | 3 |
| Punctaj total | 38 |