Pagini recente » Cod sursa (job #3164599) | Borderou de evaluare (job #1224167) | Borderou de evaluare (job #471526) | Borderou de evaluare (job #2496974) | Borderou de evaluare (job #1957216)
Borderou de evaluare (job #1957216)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:20:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<G[nod].size(); ++i)
^
user.cpp:43:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<G[nod].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:95:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{ freopen("arbore7.in", "r", stdin);
^
user.cpp:96:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbore7.out", "w", stdout);
^
user.cpp:97:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:101:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1480kb | OK | 10 |
2 | 0ms | 1480kb | OK | 10 |
3 | 0ms | 1568kb | OK | 10 |
4 | 0ms | 1572kb | OK | 10 |
5 | 0ms | 1544kb | OK | 10 |
6 | 152ms | 9260kb | OK | 10 |
7 | 144ms | 7356kb | OK | 10 |
8 | 156ms | 9696kb | OK | 10 |
9 | 160ms | 9512kb | OK | 10 |
10 | 136ms | 6456kb | OK | 10 |
Punctaj total | 100 |