Pagini recente » Borderou de evaluare (job #531452) | Borderou de evaluare (job #49721) | Borderou de evaluare (job #2354170) | Borderou de evaluare (job #1992612) | Borderou de evaluare (job #2286785)
Borderou de evaluare (job #2286785)
Raport evaluator
Compilare:
main.cpp: In function 'int caut(int, int*)':
main.cpp:45:11: warning: no return statement in function returning non-void [-Wreturn-type]
v[it]=1;}}}
^
main.cpp: In function 'int main()':
main.cpp:74:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (a[edge[i].x] && b[edge[i].y] || a[edge[i].y] && b[edge[i].x])
~~~~~~~~~~~~~^~~~~~~~~~~~~~~
main.cpp:47:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("critice.in","r",stdin);
^
main.cpp:48:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("critice.out","w",stdout);
^
main.cpp:50:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
main.cpp:52:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Okay! | 10 |
2 | 2ms | 262kb | Okay! | 10 |
3 | 3ms | 393kb | Okay! | 10 |
4 | 3ms | 524kb | Okay! | 10 |
5 | 4ms | 917kb | Okay! | 10 |
6 | 75ms | 655kb | Okay! | 10 |
7 | 251ms | 917kb | Time limit exceeded | 0 |
8 | 252ms | 1179kb | Time limit exceeded | 0 |
9 | 238ms | 1048kb | Okay! | 10 |
10 | 26ms | 4456kb | Okay! | 10 |
Punctaj total | 80 |