Borderou de evaluare (job #1523817)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:53:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < list[node].size(); i++) {
^
user.cpp: In function ‘void dfs_solve(int)’:
user.cpp:98:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < list[node].size(); i++) {
^
user.cpp:105:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < to_do[node].size(); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:123:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("viteza.in", "r", stdin);
^
user.cpp:124:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("viteza.out", "w", stdout);
^
user.cpp:126: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:128:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
user.cpp:136:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i = 1; i <= n; i++) scanf("%d", &vals[i]);
^
user.cpp:138:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &query[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 2988kb | Time limit exceeded. | 0 |
2 | Depăşit | 3132kb | Time limit exceeded. | 0 |
3 | Depăşit | 3128kb | Time limit exceeded. | 0 |
4 | Depăşit | 13444kb | Time limit exceeded. | 0 |
5 | Depăşit | 13444kb | Time limit exceeded. | 0 |
6 | Depăşit | 14512kb | Time limit exceeded. | 0 |
7 | Depăşit | 18372kb | Time limit exceeded. | 0 |
8 | Depăşit | 18596kb | Time limit exceeded. | 0 |
9 | Depăşit | 18512kb | Time limit exceeded. | 0 |
10 | Depăşit | 19040kb | Time limit exceeded. | 0 |
Punctaj total | 0 |