Pagini recente » Borderou de evaluare (job #4923) | Borderou de evaluare (job #2734577) | Borderou de evaluare (job #1395850) | Borderou de evaluare (job #2884247) | Borderou de evaluare (job #2593706)
Borderou de evaluare (job #2593706)
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:40: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:41: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:44: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 |