Pagini recente » Borderou de evaluare (job #2784335) | Borderou de evaluare (job #2245117) | Borderou de evaluare (job #2228884) | Borderou de evaluare (job #601686) | Borderou de evaluare (job #2354643)
Borderou de evaluare (job #2354643)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:13:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
~^~~~~~~~~~~~~~
main.cpp: In function 'void findcentroid(int, int, int)':
main.cpp:25:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
~^~~~~~~~~~~~~~
main.cpp: In function 'void dfs1(int, int, int, int)':
main.cpp:37:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<qr[nod].size();i++)
~^~~~~~~~~~~~~~~
main.cpp:47:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
~^~~~~~~~~~~~~~
main.cpp: In function 'void answer(int, int, int)':
main.cpp:55:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
~^~~~~~~~~~~~~~
main.cpp: In function 'void solve(int, int)':
main.cpp:68:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[centru].size();i++)
~^~~~~~~~~~~~~~~~~
main.cpp:80:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[aux].size();i++)
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:86:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("flareon.in","r",stdin);
^
main.cpp:87:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("flareon.out","w",stdout);
^
main.cpp:89:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
main.cpp:92:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
main.cpp:98:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 19ms | 9699kb | OK | 10 |
2 | 28ms | 9830kb | OK | 10 |
3 | 99ms | 11403kb | OK | 10 |
4 | 147ms | 11927kb | Incorect | 0 |
5 | 150ms | 11796kb | Incorect | 0 |
6 | 205ms | 13762kb | Incorect | 0 |
7 | 189ms | 13238kb | Incorect | 0 |
8 | 646ms | 19136kb | Incorect | 0 |
9 | 1163ms | 25559kb | Incorect | 0 |
10 | 2129ms | 32919kb | Incorect | 0 |
Punctaj total | 30 |