Borderou de evaluare (job #2459872)

Utilizator MiricaMateiMirica Matei MiricaMatei Data 22 septembrie 2019 14:16:12
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:82:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 1; j < p2[i].size(); ++j) { ~~^~~~~~~~~~~~~~ main.cpp:87: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:95: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:96: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:99: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
28ms262kbKilled by Signal 1100
33ms131kbIncorect0
43ms131kbIncorect0
5118ms2052kbKilled by Signal 1100
6107ms2088kbKilled by Signal 110
786ms2060kbKilled by Signal 110
875ms1572kbKilled by Signal 1100
9140ms2027kbKilled by Signal 110
1088ms2027kbKilled by Signal 110
1181ms917kbKilled by Signal 1100
12161ms1441kbKilled by Signal 110
13167ms2027kbIncorect0
1478ms1048kbKilled by Signal 110
15117ms2023kbKilled by Signal 110
16128ms2027kbKilled by Signal 1100
17115ms2088kbKilled by Signal 110
18169ms2027kbIncorect0
19124ms2027kbKilled by Signal 110
20166ms1957kbIncorect0
Punctaj total5

Ceva nu functioneaza?