Pagini recente » Borderou de evaluare (job #2780832) | Borderou de evaluare (job #1722312) | Borderou de evaluare (job #1224475) | Borderou de evaluare (job #2906064) | Borderou de evaluare (job #1954975)
Borderou de evaluare (job #1954975)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:45: warning: narrowing conversion of ‘((((long long int)b) * ((long long int)(x + y))) / ((long long int)(x * 2)))’ from ‘long long int’ to ‘int’ inside { } [-Wnarrowing]
sol.push_back({(long long)b * (x + y) / (2 * x), (long long)b * (x + y) / (2 * y)});
^
user.cpp:34:79: warning: narrowing conversion of ‘((((long long int)b) * ((long long int)(x + y))) / ((long long int)(y * 2)))’ from ‘long long int’ to ‘int’ inside { } [-Wnarrowing]
sol.push_back({(long long)b * (x + y) / (2 * x), (long long)b * (x + y) / (2 * y)});
^
user.cpp:18:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("armonica.in", "r", stdin);
^
user.cpp:19:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("armonica.out", "w", stdout);
^
user.cpp:21:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | Incorect! | 0 |
2 | 0ms | 276kb | Incorect! | 0 |
3 | 0ms | 288kb | Incorect! | 0 |
4 | 0ms | 296kb | Incorect! | 0 |
5 | 0ms | 284kb | Incorect! | 0 |
6 | 0ms | 288kb | Incorect! | 0 |
7 | 0ms | 296kb | Incorect! | 0 |
8 | 0ms | 292kb | Incorect! | 0 |
9 | 184ms | 788kb | Incorect! | 0 |
10 | 28ms | 412kb | Incorect! | 0 |
11 | 104ms | 792kb | Incorect! | 0 |
12 | 148ms | 628kb | Incorect! | 0 |
13 | 0ms | 284kb | Incorect! | 0 |
14 | 16ms | 340kb | Incorect! | 0 |
15 | 0ms | 280kb | Incorect! | 0 |
16 | 0ms | 284kb | Incorect! | 0 |
17 | 0ms | 284kb | Incorect! | 0 |
18 | 0ms | 280kb | Incorect! | 0 |
19 | 0ms | 284kb | Corect! (Exemplu) | 10 |
Punctaj total | 10 |