Pagini recente » Borderou de evaluare (job #1997661) | Borderou de evaluare (job #1203449) | Borderou de evaluare (job #2114109) | Borderou de evaluare (job #2374903) | Borderou de evaluare (job #1652234)
Borderou de evaluare (job #1652234)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:30:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < query[node].size(); i++)
^
user.cpp:38:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < g[node].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:47:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.in", "r", stdin);
^
user.cpp:48:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.out", "w", stdout);
^
user.cpp:51: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:54:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:59:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp:73:30: 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 | 12ms | 7572kb | OK | 10 |
2 | 12ms | 7572kb | OK | 10 |
3 | 20ms | 7736kb | OK | 10 |
4 | 24ms | 7728kb | OK | 10 |
5 | 72ms | 9196kb | OK | 10 |
6 | 332ms | 15532kb | OK | 10 |
7 | 500ms | 19528kb | OK | 10 |
8 | Depăşit | 28592kb | Time limit exceeded. | 0 |
9 | Depăşit | 30164kb | Time limit exceeded. | 0 |
10 | Depăşit | 31696kb | Time limit exceeded. | 0 |
Punctaj total | 70 |