Pagini recente » Borderou de evaluare (job #1381057) | Borderou de evaluare (job #2252751) | Cod sursa (job #412307) | Borderou de evaluare (job #2816881) | Borderou de evaluare (job #2411365)
Borderou de evaluare (job #2411365)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:48:41: warning: narrowing conversion of '(((1ll * ((long long int)v[1].Coord::x)) * ((long long int)v[1].Coord::y)) % 1000000007ll)' from 'long long int' to 'int' inside { } [-Wnarrowing]
dp[1] = {1, (1LL * v[1].x * v[1].y) % mod, 1};
^
main.cpp:51:45: warning: narrowing conversion of '(((1ll * ((long long int)v[i].Coord::x)) * ((long long int)v[i].Coord::y)) % 1000000007ll)' from 'long long int' to 'int' inside { } [-Wnarrowing]
dp[i] = {1, (1LL * v[i].x * v[i].y) % mod, 1};
^
main.cpp:55:129: warning: narrowing conversion of '((((1ll * ((long long int)dp[j].Dp::cnt)) * (((1ll * ((long long int)(v[i].Coord::x - v[j].Coord::x))) * ((long long int)(v[i].Coord::y - v[j].Coord::y))) % 1000000007ll)) + ((long long int)dp[j].Dp::sumA)) % 1000000007ll)' from 'long long int' to 'int' inside { } [-Wnarrowing]
Dp d = Dp{dp[j].bst + 1, (1LL * dp[j].cnt * ((1LL * (v[i].x - v[j].x) * (v[i].y - v[j].y)) % mod) + dp[j].sumA) % mod, dp[j].cnt};
^
main.cpp:44:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:46:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &v[i].x, &v[i].y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Marcel este dezamagit: Ai raspuns gresit! | 0 |
| 2 | 2ms | 131kb | Marcel este impresionat: Ai raspuns corect! | 3 |
| 3 | 2ms | 131kb | Marcel este impresionat: Ai raspuns corect! | 2 |
| 4 | 2ms | 131kb | Marcel este impresionat: Ai raspuns corect! | 3 |
| 5 | 3ms | 131kb | Marcel este impresionat: Ai raspuns corect! | 2 |
| 6 | 6ms | 131kb | Marcel este impresionat: Ai raspuns corect! | 3 |
| 7 | 8ms | 131kb | Marcel este impresionat: Ai raspuns corect! | 3 |
| 8 | 14ms | 131kb | Marcel este impresionat: Ai raspuns corect! | 3 |
| 9 | 14ms | 131kb | Marcel este impresionat: Ai raspuns corect! | 3 |
| 10 | 1000ms | 1835kb | Time limit exceeded | 0 |
| 11 | 1000ms | 1835kb | Time limit exceeded | 0 |
| 12 | 1003ms | 1835kb | Time limit exceeded | 0 |
| 13 | 1000ms | 2097kb | Time limit exceeded | 0 |
| 14 | 1000ms | 2097kb | Time limit exceeded | 0 |
| 15 | 1000ms | 2097kb | Time limit exceeded | 0 |
| 16 | 1005ms | 1966kb | Time limit exceeded | 0 |
| 17 | 1000ms | 1966kb | Time limit exceeded | 0 |
| 18 | 1000ms | 1835kb | Time limit exceeded | 0 |
| 19 | 1003ms | 1835kb | Time limit exceeded | 0 |
| 20 | 1000ms | 1835kb | Time limit exceeded | 0 |
| Punctaj total | 22 |