Borderou de evaluare (job #2626810)

Utilizator giotoPopescu Ioan gioto Data 8 iunie 2020 14:15:01
Problema Tygyn Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:31:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < p.size() && p[j] <= p[lp[i] - 1] && 1LL * i * p[j] <= m ; ++j) ~~^~~~~~~~~~ main.cpp:39:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = lp[i] - 1; j < p.size() && 1LL * i * p[j] <= m ; ++j) ~~^~~~~~~~~~ main.cpp:13:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("tygyn.in", "r", stdin); ^ main.cpp:14:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("tygyn.out", "w", stdout); ^ main.cpp:16:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ main.cpp:20:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1010
262ms5758kbOK1030
360ms5758kbOK10
459ms5890kbOK10
5303ms6545kbOK1060
6260ms6545kbOK10
7135ms6676kbOK10
8379ms6545kbOK10
9380ms6545kbOK10
10289ms6545kbOK10
Punctaj total100

Ceva nu functioneaza?