Borderou de evaluare (job #2622027)

Utilizator giotoPopescu Ioan gioto Data 31 mai 2020 13:01:27
Problema Nambartiori Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void precalc()': main.cpp:52:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < p.size() && 1LL * p[j] * i <= MAX ; ++j) ~~^~~~~~~~~~ main.cpp: In function 'int B(int, int)': main.cpp:61:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < p.size() && p[i] <= rad ; ++i) { ~~^~~~~~~~~~ main.cpp: In function 'int S(int, int, int)': main.cpp:82:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (put[k - 1][i] > x || put[k - 1][i] == 0) break ; ~~~~~~~~~~~~~~^~~ main.cpp: In function 'void solve()': main.cpp:107:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &k); ^ main.cpp: In function 'int main()': main.cpp:145:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("nambartiori.in", "r", stdin); ^ main.cpp:146:44: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("nambartiori.out", "w", stdout); ^ main.cpp:149:20: 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
113ms1966kbOK1010
212ms1966kbOK1020
312ms1966kbOK10
412ms1966kbOK1030
512ms1966kbOK10
612ms1966kbOK10
713ms1966kbOK1040
840ms1966kbOK10
926ms1966kbOK10
1077ms1966kbOK10
Punctaj total100

Ceva nu functioneaza?