Utilizator |
Problema |
Data |
Compilator |
Scor |
|---|---|---|---|---|
2 August 2023, 20:26 |
c++20 |
70.0 |
main.cpp: In function ‘void df(int)’:
main.cpp:21:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
21 | for(int i=0; i<v[nod].size(); ++i)
| ~^~~~~~~~~~~~~~
main.cpp: In function ‘void df2(int)’:
main.cpp:51:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
51 | for(int i=0; i<q[nod].size(); ++i)
| ~^~~~~~~~~~~~~~
main.cpp:59:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
59 | for(int i=0; i<v[nod].size(); ++i)
| ~^~~~~~~~~~~~~~
main.cpp: In function ‘int main()’:
main.cpp:76:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
76 | freopen("arbvalmax.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:77:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
77 | freopen("arbvalmax.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:79:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
79 | scanf("%d%d", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~
main.cpp:84:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
84 | scanf("%d", &x);
| ~~~~~^~~~~~~~~~
main.cpp:89:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
89 | scanf("%d", &val[i]);
| ~~~~~^~~~~~~~~~~~~~~
main.cpp:93:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
93 | scanf("%d%d", &a[i], &b[i]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~
Test |
Mesaj evaluator |
Timp execuție |
Memorie |
Scor |
|---|---|---|---|---|
|
1
|
correct |
0,028 |
48.44MB |
10,0 |
|
2
|
MemoryLimitExceeded |
0,158 |
64.02MB |
0,0 |
|
3
|
correct |
0,029 |
48.48MB |
10,0 |
|
4
|
correct |
0,028 |
48.69MB |
10,0 |
|
5
|
correct |
0,027 |
48.74MB |
10,0 |
|
6
|
correct |
0,039 |
50.16MB |
10,0 |
|
7
|
correct |
0,082 |
56.41MB |
10,0 |
|
8
|
correct |
0,113 |
60.58MB |
10,0 |
|
9
|
MemoryLimitExceeded |
0,14 |
64.02MB |
0,0 |
|
10
|
MemoryLimitExceeded |
0,15 |
64.02MB |
0,0 |