Pagini recente » Borderou de evaluare (job #102001) | Borderou de evaluare (job #2203623)
Borderou de evaluare (job #2203623)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int, int)’:
user.cpp:37:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < l[x].size(); ++i)
~~^~~~~~~~~~~~~
user.cpp:30:9: warning: unused variable ‘aux’ [-Wunused-variable]
int aux, lvl = 0;
^~~
user.cpp:30:14: warning: unused variable ‘lvl’ [-Wunused-variable]
int aux, lvl = 0;
^~~
user.cpp: In function ‘int lca(int, int)’:
user.cpp:95:16: warning: unused variable ‘lvl’ [-Wunused-variable]
int diffh, lvl = 0;
^~~
user.cpp: In function ‘int solve(int, int, int)’:
user.cpp:129:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(indspeeds < speeds.size() && speeds[indspeeds].first <= k)
~~~~~~~~~~^~~~~~~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:165:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < q.size(); ++i)
~~^~~~~~~~~~
user.cpp:136: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:137: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:139: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:142: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:148:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:155:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 8148kb | OK | 10 |
2 | 8ms | 8256kb | OK | 10 |
3 | 8ms | 8260kb | OK | 10 |
4 | Depăşit | 19352kb | Time limit exceeded. | 0 |
5 | Depăşit | 19092kb | Time limit exceeded. | 0 |
6 | Depăşit | 20276kb | Time limit exceeded. | 0 |
7 | Depăşit | 23992kb | Time limit exceeded. | 0 |
8 | Depăşit | 23696kb | Time limit exceeded. | 0 |
9 | Depăşit | 24152kb | Time limit exceeded. | 0 |
10 | Depăşit | 24192kb | Time limit exceeded. | 0 |
Punctaj total | 30 |