Pagini recente » Borderou de evaluare (job #244582) | Borderou de evaluare (job #2120167) | Borderou de evaluare (job #198372) | Borderou de evaluare (job #2287539) | Borderou de evaluare (job #2826923)
Borderou de evaluare (job #2826923)
Raport evaluator
Compilare:
main.cpp: In function 'long long int val(std::string)':
main.cpp:24:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | for (; i < s.size(); i++)
| ~~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:67:41: warning: integer overflow in expression of type 'int' results in '2147483647' [-Woverflow]
67 | if (modf (x) <= (1<<31) - 1 && modf (y) <= (1<<31) - 1 && tigri + x >= 0 && cont - x * y >= 0)
| ~~~~~~~~^~~
main.cpp:67:68: warning: integer overflow in expression of type 'int' results in '2147483647' [-Woverflow]
67 | if (modf (x) <= (1<<31) - 1 && modf (y) <= (1<<31) - 1 && tigri + x >= 0 && cont - x * y >= 0)
| ~~~~~~~~^~~
main.cpp:82:41: warning: integer overflow in expression of type 'int' results in '2147483647' [-Woverflow]
82 | if (modf (x) <= (1<<31) - 1 && modf (y) <= (1<<31) - 1 && tigri - x >= 0 && cont + x * y >= 0)
| ~~~~~~~~^~~
main.cpp:82:68: warning: integer overflow in expression of type 'int' results in '2147483647' [-Woverflow]
82 | if (modf (x) <= (1<<31) - 1 && modf (y) <= (1<<31) - 1 && tigri - x >= 0 && cont + x * y >= 0)
| ~~~~~~~~^~~
main.cpp:40:15: warning: unused variable 'j' [-Wunused-variable]
40 | int n, i, j, cont, semn;
| ^
main.cpp:40:24: warning: unused variable 'semn' [-Wunused-variable]
40 | int n, i, j, cont, semn;
| ^~~~
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 2ms | 184kb | OK | 10 |
✓ | 2 | 2ms | 184kb | OK | 10 |
✓ | 3 | 2ms | 184kb | OK | 10 |
✓ | 4 | 2ms | 184kb | OK | 10 |
✓ | 5 | 2ms | 184kb | OK | 10 |
✓ | 6 | 2ms | 184kb | OK | 10 |
✓ | 7 | 2ms | 184kb | OK | 10 |
✓ | 8 | 11ms | 319kb | OK | 10 |
✓ | 9 | 11ms | 311kb | OK | 10 |
✓ | 10 | 103ms | 1171kb | OK | 10 |
Punctaj total | 100 |