Pagini recente » Borderou de evaluare (job #2451079) | Borderou de evaluare (job #1416961) | Borderou de evaluare (job #879599) | Borderou de evaluare (job #1975988) | Borderou de evaluare (job #2185208)
Borderou de evaluare (job #2185208)
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 ‘int main()’:
user.cpp:177:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", answer);
^
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:147: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:148: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:150: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:152:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &value[i]);
^
user.cpp:155: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 | 21424kb | Incorect | 0 | 0 |
2 | 16ms | 21464kb | Incorect | 0 |
3 | 36ms | 22032kb | OK | 10 |
4 | 132ms | 23684kb | Incorect | 0 |
5 | 304ms | 25676kb | Incorect | 0 |
6 | 492ms | 29124kb | Incorect | 0 |
7 | 736ms | 29932kb | Incorect | 0 |
8 | 1048ms | 36532kb | Incorect | 0 |
9 | 704ms | 29848kb | Incorect | 0 |
10 | 880ms | 31012kb | Incorect | 0 |
Punctaj total | 0 |