Borderou de evaluare (job #2459795)

Utilizator MiricaMateiMirica Matei MiricaMatei Data 22 septembrie 2019 13:57:31
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
34ms131kbIncorect0
43ms131kbIncorect0
5124ms2027kbKilled by Signal 1100
6112ms2088kbKilled by Signal 110
791ms2060kbKilled by Signal 110
874ms1572kbKilled by Signal 1100
9117ms2027kbKilled by Signal 110
1072ms2027kbKilled by Signal 110
1164ms917kbKilled by Signal 1100
12179ms1372kbKilled by Signal 110
13161ms2027kbIncorect0
1469ms1048kbKilled by Signal 110
15150ms2023kbKilled by Signal 110
16146ms2027kbKilled by Signal 1100
17111ms2088kbKilled by Signal 110
18163ms1204kbIncorect0
19156ms2027kbKilled by Signal 110
20169ms1957kbIncorect0
Punctaj total5

Ceva nu functioneaza?