Pagini recente » Borderou de evaluare (job #861477) | Borderou de evaluare (job #2562955) | Borderou de evaluare (job #781397) | Borderou de evaluare (job #3030653) | Borderou de evaluare (job #2530050)
Borderou de evaluare (job #2530050)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int, int)':
main.cpp:24:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[nod].size(); i++)
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:108:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0; j<pathuri[i].size()/2; j++){
~^~~~~~~~~~~~~~~~~~~~
main.cpp:150:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(pozpath[x]+1>pathuri[carepath[x]].size()-1)
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:93:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("rafaela.in", "r", stdin);
^
main.cpp:94:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rafaela.out", "w", stdout);
^
main.cpp:97:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:99:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
main.cpp:104:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &v[i]);
^
main.cpp:132:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c %d\n", &tip, &x);
^
main.cpp:134:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 35ms | 19398kb | OK | 10 |
2 | 41ms | 19398kb | OK | 10 |
3 | 45ms | 19398kb | OK | 10 |
4 | 308ms | 27262kb | OK | 10 |
5 | 370ms | 29622kb | OK | 10 |
6 | 481ms | 32944kb | OK | 10 |
7 | 508ms | 33947kb | OK | 10 |
8 | 656ms | 37355kb | OK | 10 |
9 | 670ms | 37879kb | OK | 10 |
10 | 682ms | 39055kb | OK | 10 |
Punctaj total | 100 |