Pagini recente » Borderou de evaluare (job #227973) | Borderou de evaluare (job #89357) | Borderou de evaluare (job #1815771) | Borderou de evaluare (job #1207998) | Borderou de evaluare (job #2216375)
Borderou de evaluare (job #2216375)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int, int)’:
user.cpp:15:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < g[n].size(); i++)
~~^~~~~~~~~~~~~
user.cpp: In function ‘int dfs2(int)’:
user.cpp:26:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < g[n].size(); i++)
~~^~~~~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:38:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("petrica.in", "r", stdin);
^
user.cpp:39:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("petrica.out", "w", stdout);
^
user.cpp:40:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:42:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p[i]);
^
user.cpp:46:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
user.cpp:88:29: warning: ‘gr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
val[gr] -= val[l + 1];
~~~~~~~~^~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1328kb | OK! | 10 |
2 | 0ms | 1336kb | OK! | 10 |
3 | 0ms | 1356kb | Wrong answer! | 0 |
4 | 0ms | 1368kb | OK! | 10 |
5 | 0ms | 1384kb | OK! | 10 |
6 | 8ms | 1412kb | OK! | 10 |
7 | 24ms | 1448kb | OK! | 10 |
8 | 60ms | 1492kb | OK! | 10 |
9 | 64ms | 1488kb | OK! | 10 |
10 | 64ms | 1492kb | OK! | 10 |
Punctaj total | 90 |