Pagini recente » Borderou de evaluare (job #3212607) | Borderou de evaluare (job #2452133) | Borderou de evaluare (job #2813187) | Borderou de evaluare (job #1152917) | Borderou de evaluare (job #2185246)
Borderou de evaluare (job #2185246)
Raport evaluator
Compilare:
user.cpp: In function ‘void DFS(int, int)’:
user.cpp:59:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (it != father)
^
user.cpp: In function ‘void Solve(int, int)’:
user.cpp:110:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < cycle[id].size(); j++) {
~~^~~~~~~~~~~~~~~~~~
user.cpp:113:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i == cycle[id].size())
~~^~~~~~~~~~~~~~~~~~~
user.cpp:118:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < cycle[id].size(); i++) {
~~^~~~~~~~~~~~~~~~~~
user.cpp:132:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < cycle[id].size(); i++) {
~~^~~~~~~~~~~~~~~~~~
user.cpp: In function ‘char Advance()’:
user.cpp:25:38: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buffer, 1, SIZE, stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:148:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pastrafaceri.in", "r", stdin);
^
user.cpp:149:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pastrafaceri.out", "w", stdout);
^
user.cpp:151:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:153:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &value[i]);
^
user.cpp:156:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 16ms | 21428kb | Incorect | 0 | 0 |
2 | 16ms | 21464kb | Incorect | 0 |
3 | 36ms | 22036kb | OK | 10 |
4 | 132ms | 23680kb | Incorect | 0 |
5 | 300ms | 25680kb | Incorect | 0 |
6 | 492ms | 29152kb | Incorect | 0 |
7 | 732ms | 29932kb | Incorect | 0 |
8 | 1040ms | 36532kb | Incorect | 0 |
9 | 696ms | 29848kb | Incorect | 0 |
10 | 876ms | 31012kb | Incorect | 0 |
Punctaj total | 0 |