Pagini recente » Borderou de evaluare (job #1863590) | Borderou de evaluare (job #1155779) | Borderou de evaluare (job #1941464) | Borderou de evaluare (job #1483023) | Borderou de evaluare (job #2506575)
Borderou de evaluare (job #2506575)
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:27: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]
int 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:19: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
int 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 | 3ms | 131kb | OK | 10 |
2 | 3ms | 131kb | Gresit! | 7 |
3 | 3ms | 131kb | Gresit! | 3 |
4 | 3ms | 131kb | Gresit! | 3 |
5 | 28ms | 540kb | Gresit! | 3 |
6 | 3ms | 131kb | Killed by Signal 8 | 0 |
7 | 78ms | 1302kb | Gresit! | 3 |
8 | 83ms | 1302kb | Gresit! | 3 |
9 | 8ms | 262kb | Gresit! | 3 |
10 | 11ms | 323kb | Gresit! | 3 |
Punctaj total | 38 |