Borderou de evaluare (job #2459815)

Utilizator MiricaMateiMirica Matei MiricaMatei Data 22 septembrie 2019 13:59:01
Problema Aliniate Status done
Runda Algoritmiada 2019 Runda Finala Seniori Compilator cpp-64 | Vezi sursa
Scor 5

Raport evaluator

Compilare: main.cpp: In function 'void solve()': main.cpp:80:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 1; j < p2[i].size(); ++j) { ~~^~~~~~~~~~~~~~ main.cpp:85: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, 1LLU * p2[i][j - 1].z * p2[i][j].z % MOD}); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ main.cpp:48:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:50: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:51: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:93: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:94: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:97:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
13ms131kbOK55
29ms262kbKilled by Signal 1100
33ms131kbIncorect0
43ms131kbIncorect0
5110ms2027kbKilled by Signal 1100
6109ms2088kbKilled by Signal 110
786ms2060kbKilled by Signal 110
883ms1572kbKilled by Signal 1100
9150ms2027kbKilled by Signal 110
1087ms2027kbKilled by Signal 110
1177ms917kbKilled by Signal 1100
12157ms1441kbKilled by Signal 110
13167ms2027kbIncorect0
1481ms1048kbKilled by Signal 110
15153ms2023kbKilled by Signal 110
16140ms2027kbKilled by Signal 1100
17105ms2088kbKilled by Signal 110
18157ms1204kbIncorect0
19155ms2027kbKilled by Signal 110
20165ms1957kbIncorect0
Punctaj total5

Ceva nu functioneaza?