Pagini recente » Borderou de evaluare (job #3197950) | Borderou de evaluare (job #901849) | Borderou de evaluare (job #1224128) | Borderou de evaluare (job #1110502) | Borderou de evaluare (job #2593703)
Borderou de evaluare (job #2593703)
Raport evaluator
Compilare:
main.cpp: In function 'bool solve()':
main.cpp:19:44: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d", &x, &y, &z, &a, &b);
^
main.cpp: In function 'int main()':
main.cpp:36:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("antobroasca.in", "r", stdin);
^
main.cpp:37:44: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("antobroasca.out", "w", stdout);
^
main.cpp:40:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
main.cpp: In function 'void euclid(int, int, int, long long int&, long long int&)':
main.cpp:13:7: warning: 'y0' may be used uninitialized in this function [-Wmaybe-uninitialized]
x = y0;
~~^~~~
main.cpp:14:12: warning: 'x0' may be used uninitialized in this function [-Wmaybe-uninitialized]
y = x0 - 1LL * (a / b) * y0;
~~~^~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 0 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | Incorect | 0 |
4 | 3ms | 131kb | Incorect | 0 |
5 | 3ms | 131kb | Incorect | 0 |
6 | 3ms | 131kb | Incorect | 0 |
7 | 3ms | 131kb | Incorect | 0 |
8 | 3ms | 131kb | Incorect | 0 |
9 | 3ms | 131kb | Incorect | 0 |
10 | 3ms | 131kb | Incorect | 0 |
Punctaj total | 0 |