Borderou de evaluare (job #2459790)

Utilizator MiricaMateiMirica Matei MiricaMatei Data 22 septembrie 2019 13:50:03
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:79:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 1; j < p2[i].size(); ++j) { ~~^~~~~~~~~~~~~~ main.cpp:84: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:47:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:49: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:50: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:92: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:93: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:96: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
5111ms2027kbKilled by Signal 1100
6108ms2097kbKilled by Signal 110
788ms2060kbKilled by Signal 110
881ms1572kbKilled by Signal 1100
9147ms2027kbKilled by Signal 110
1090ms2027kbKilled by Signal 110
1161ms917kbKilled by Signal 1100
12159ms1441kbKilled by Signal 110
13159ms2027kbIncorect0
1481ms1048kbKilled by Signal 110
15142ms2023kbKilled by Signal 110
16144ms2027kbKilled by Signal 1100
17106ms2088kbKilled by Signal 110
18154ms1208kbIncorect0
19155ms2027kbKilled by Signal 110
20155ms1957kbIncorect0
Punctaj total5

Ceva nu functioneaza?