Borderou de evaluare (job #2626808)

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

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] && 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() && 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
253ms5758kbKilled by Signal 1100
353ms5758kbKilled by Signal 110
453ms5890kbKilled by Signal 110
5293ms6545kbKilled by Signal 1100
6241ms6545kbKilled by Signal 110
7121ms6545kbKilled by Signal 110
8378ms5763kbKilled by Signal 110
9363ms5763kbKilled by Signal 110
10300ms6557kbKilled by Signal 110
Punctaj total10

Ceva nu functioneaza?