Pagini recente » Cod sursa (job #2713437) | Cod sursa (job #3299432) | Cod sursa (job #902438) | Cod sursa (job #1448273) | Borderou de evaluare (job #2460172)
Borderou de evaluare (job #2460172)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:84:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 1; j < p2[i].size(); ++j) {
~~^~~~~~~~~~~~~~
main.cpp:89:93: warning: narrowing conversion of '(((1ull * ((long long unsigned int)p2[i].std::vector<_Tp, _Alloc>::operator[]<Interval, std::allocator<Interval> >(((std::vector<Interval>::size_type)(j - 1))).Interval::z)) * ((long long unsigned int)p2[i].std::vector<_Tp, _Alloc>::operator[]<Interval, std::allocator<Interval> >(((std::vector<Interval>::size_type)j)).Interval::z)) % 4294967296ull)' from 'long long unsigned int' to 'long long int' inside { } [-Wnarrowing]
p2[i + 1].push_back({p2[i][j - 1].x, p2[i][j].y, 1ULL * p2[i][j - 1].z * p2[i][j].z % MOD});
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
main.cpp:50:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:52:36: 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);
^
main.cpp:53:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &v[i].z);
^
main.cpp: In function 'int main()':
main.cpp:97:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("aliniate.in", "r", stdin);
^
main.cpp:98:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("aliniate.out", "w", stdout);
^
main.cpp:101:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 3ms | 131kb | OK | 5 | 5 |
| 2 | 3ms | 131kb | OK | 5 | 15 |
| 3 | 3ms | 131kb | OK | 5 |
| 4 | 3ms | 131kb | OK | 5 |
| 5 | 174ms | 2027kb | OK | 5 | 15 |
| 6 | 147ms | 2088kb | OK | 5 |
| 7 | 156ms | 2060kb | OK | 5 |
| 8 | 162ms | 2023kb | OK | 5 | 15 |
| 9 | 187ms | 2027kb | OK | 5 |
| 10 | 149ms | 2027kb | OK | 5 |
| 11 | 158ms | 1957kb | OK | 5 | 25 |
| 12 | 155ms | 1310kb | OK | 5 |
| 13 | 157ms | 2027kb | OK | 5 |
| 14 | 139ms | 1179kb | OK | 5 |
| 15 | 151ms | 1179kb | OK | 5 |
| 16 | 167ms | 2027kb | OK | 5 | 25 |
| 17 | 138ms | 1179kb | OK | 5 |
| 18 | 154ms | 2027kb | OK | 5 |
| 19 | 162ms | 2027kb | OK | 5 |
| 20 | 159ms | 1658kb | OK | 5 |
| Punctaj total | 100 |